427 design standard

From CSSEMediaWiki
Revision as of 05:41, 23 July 2008 by Yugan Yugaraja (Talk | contribs)
Jump to: navigation, search

What rules do we all agree on? Let's write them here so everybody can follow them in their design study.

Getters and setters

  • Always make fields have protected access.
  • Always write a getter, but minimize access.
  • Always call getter, even in same object.
Personal tools