Extract Hierarchy

From CSSEMediaWiki
Revision as of 08:29, 18 November 2010 by Ebybymic (Talk | contribs)
Jump to: navigation, search

Straight from Martin Fowler 1999:

"You have a class that is doing too much work, at least in part through many conditional statements.

Create a hierarchy of classes in which each subclass represents a special case."


>==Similar==

Replace Conditional with Polymorphism


Personal tools