- Read Introduce Explaining Variable.
- Read Rename Method.
- Read Extract Method.
- Read Move Method.
- Read Replace Method with Method Object.
- Read Extract Class.
- Read Introduce Null Object.
- Read Replace Conditional with Polymorphism.
You know everyday refactoring when you can (safely):
- Introduce an explaining variable.
- Rename a method.
- Extract a method.
- Move a method.
- Replace a method with an object.
- Extract a class.
- Introduce a null object.
- Replace a conditional with polymorphism.
You know advanced refactoring when you can (safely):
- Replace inheritance with delegation.