Development AntiPattern: Poltergeists Refactored Solution
Refactor to eliminate irrelevant classes
- Delete external classes (outside the system)
- Delete classes with no domain relevance
Refactor to eliminate transient “data classes”
Refactor to eliminate “operation classes”
Refactor other classes with short lifecycles or few responsibilities
- Move into collaborating classes
- Regroup into cohesive larger classes