Make all Member Variables Private

From CSSEMediaWiki
Revision as of 23:20, 20 October 2010 by Nelson Shaw (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Make all Member Variables Private

This idea is based around information hiding. That class related data should be exclusively accessible to it's own class. If another entity wants to gain access or modify this data, it must be through public getter and setter methods.

See also

Personal tools