Extract Hierarchy

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Straight from [[Martin Fowler 2003]]:
+
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.

Revision as of 03:01, 23 September 2008

Straight from Martin Fowler 1999:

"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."


Similar

Replace Conditional with Polymorphism

Personal tools