Refactoring restructures software code to improve its internal quality without changing its intended external behavior. It is one way to address technical debt created by expedient design or implementation decisions. section 12.2.3
A deadline shortcut
A team may accept duplicate code or an incomplete implementation to meet an urgent delivery date. Later, refactoring can revisit the affected architecture while preserving the feature’s intended behavior. section 12.2.3
Use these questions to identify refactoring opportunities and reduce the resulting debt:
- Can duplicate code be removed? section 12.2.3
- Can the code become more modular and extensible? section 12.2.3
- What design blind spots, review gaps, or negative effects elsewhere might the change create? section 12.2.3





















