Forgive the code you have now, and the developers who made it.
Learn repeatable, memorable, and time-saving refactoring techniques.
Apply these techniques as you work, fixing things along the way.
Internalize these techniques, and avoid writing as much problematic code to begin with.
Bad code doesn’t have to stay that way. And making it better doesn’t have to be intimidating or unreasonably expensive.
Table of Contents
Chapter 1. What is Refactoring?
Chapter 3. Testing
Chapter 4. Testing in action
Chapter 5. Basic Refactoring Goals
Chapter 6. Refactoring Simple Structures
Chapter 7. Refactoring Functions and Objects
Chapter 8. Refactoring Within a Hierarchy
Chapter 9. Refactoring to OOP Patterns
Chapter 10. Asynchronous Refactoring
Chapter 11. Functional Refactoring
Chapter 12. Conclusion