Intelligent children pattern
From CSSEMediaWiki
(Difference between revisions)
Line 12: | Line 12: | ||
* [[Define classes by behavior, not state pattern]] | * [[Define classes by behavior, not state pattern]] | ||
* [[Parallel inheritance hierarchies smell]] | * [[Parallel inheritance hierarchies smell]] | ||
− | * [[Parallel hierarchies | + | * [[Parallel hierarchies]] |
Revision as of 01:00, 8 October 2008
This idea is similar to the Defer identification of state variables pattern.
Basically it states that the children of a Parallel hierarchies problem should know about the corresponding children of the other heirarchy.