By piccoloprincipe
via css.dzone.com
Published: Jan 23 2012 / 17:11
In the scenario of today, a subclass and superclass are not very different: the evolution of the code has brought them to this situation. Behavior has been removed, or moved elsewhere in the system, and they are almost the same entity.
The Collapse Hierarchy refactoring provides a series of steps to unify two such classes into one, simplifying the design.
Add your comment