Keep related data and behavior in one place

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: Riel's Heuristic #2.9)
 
Line 1: Line 1:
 
Riel's Heuristic #2.9
 
Riel's Heuristic #2.9
 +
 +
If two or more areas are actually of the same key abstraction they should be captured in the same class. As soon as there are any "get" operations that might imply that this heuristic is being violated.
 +
 +
==See also==
 +
Tell don't Ask

Revision as of 00:29, 26 September 2008

Riel's Heuristic #2.9

If two or more areas are actually of the same key abstraction they should be captured in the same class. As soon as there are any "get" operations that might imply that this heuristic is being violated.

See also

Tell don't Ask

Personal tools