Object orgy
From CSSEMediaWiki
(Difference between revisions)
JaninaVoigt (Talk | contribs) (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...) |
JaninaVoigt (Talk | contribs) (→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.