Extract Hierarchy
From CSSEMediaWiki
(Difference between revisions)
m |
|||
Line 3: | Line 3: | ||
"You have a class that is doing too much work, at least in part through many conditional statements. | "You have a class that is doing too much work, at least in part through many conditional statements. | ||
− | ''Create | + | ''Create a hierarchy of classes in which each subclass represents a special case''." |
Revision as of 21:36, 14 October 2009
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."