Do not change the state of an object without going through its public interface
From CSSEMediaWiki
(Difference between revisions)
(New page: :''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 e...) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Stephen Fitchett) |
(One intermediate revision by one user not shown) |
Latest revision as of 03:21, 25 November 2010
- 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.