Make all Member Variables Private

From CSSEMediaWiki
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