First page Back Continue Last page Overview Graphics
Tip: Refactor Mercilessly
- Refactor using design patterns (see Gamma et al., “Design Patterns”).- Extract complicated method into Strategy class.
- Describe creation process with Factory Method.
 
- Refactor using standard refactorings (see Fowler, “Refactoring”)- - Extract code block into separate method.
- - Replace local variable with query method.
 
Notes: