Do not change the state of an object without going through its public interface

From CSSEMediaWiki
Revision as of 05:21, 24 November 2010 by Ebybymic (Talk | contribs)
Jump to: navigation, search

Do not change the state of an object without going through its public interface. --Riel's heuristic 9.2, Arthur Riel 1996

This heuristic is closely related to the maxim Don't expose mutable attributes.

See also

Personal tools