Additional Resources
The process of refactoring has a lot in common with the process of fixing defects. For more on fixing defects, see Fixing a Defect. The risks associated with refactoring are similar to the risks associated with code tuning. For more on managing code-tuning risks, see Summary of the Approach to Code Tuning.
Fowler, Martin. Refactoring: Improving the Design of Existing Code. Reading, MA: Addison Wesley, 1999. This is the definitive guide to refactoring. It contains detailed discussions of many of the specific refactorings summarized in this chapter, as well as a handful of other refactorings not summarized here. Fowler provides numerous code samples to illustrate how each refactoring is performed step by step.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access