Extract Hierarchy
From CSSEMediaWiki
(Difference between revisions)
(New page: Straight from Martin Fowler 2003: "You have a class that is doing too much work, at least in part through many conditional statements. ''Create s hierarchy of classes in which each s...) |
|||
Line 6: | Line 6: | ||
− | == | + | ==Similar== |
+ | |||
[[Replace Conditional with Polymorphism]] | [[Replace Conditional with Polymorphism]] |
Revision as of 06:28, 21 September 2008
Straight from Martin Fowler 2003:
"You have a class that is doing too much work, at least in part through many conditional statements.
Create s hierarchy of classes in which each subclass represents a special case."