Object orgy

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: This anti-pattern occurs when there is insufficient encapsulation in a system and objects just access each other's internals directly rather than going through a public interface. ==Liabi...)
 
(Related design heuristics)
Line 10: Line 10:
 
*[[Don't expose mutable attributes]]
 
*[[Don't expose mutable attributes]]
 
*[[Encapsulate that which varies]]
 
*[[Encapsulate that which varies]]
 +
*[[Minimize accesses to variables]]

Revision as of 03:46, 20 July 2009

This anti-pattern occurs when there is insufficient encapsulation in a system and objects just access each other's internals directly rather than going through a public interface.

Liabilities

Related design heuristics

Personal tools