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...) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Aidan Bebbington) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | Straight from [[Martin Fowler | + | Straight from [[Martin Fowler 1999]]: |
"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''." |
− | == | + | ==Similar== |
+ | |||
[[Replace Conditional with Polymorphism]] | [[Replace Conditional with Polymorphism]] |
Latest revision as of 03:21, 25 November 2010
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."