Do not change the state of an object without going through its public interface
From CSSEMediaWiki
- 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.