Chapter 1. Refactoring

 

4.1. Disciplined refactoring

4.1.1. Avoiding the Macbeth Syndrome

4.1.2. Separate refactoring from other work

4.1.3. Lean on the IDE

4.1.4. Lean on the VCS

4.1.5. The Mikado Method

4.2. Common legacy code traits and refactorings

4.2.1. Stale code

4.2.2. Toxic tests

4.2.3. A glut of nulls

4.2.4. Needlessly mutable state

4.2.5. Byzantine business logic

4.2.6. Complexity in the view layer

4.3. Testing legacy code

4.3.1. Testing untestable code

4.3.2. Regression testing without unit tests

4.3.3. Make the users work for you

4.4. Summary

What's inside: