GettersAndSetters

From APIDesign

Revision as of 10:20, 24 October 2008 by JaroslavTulach (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Another topic from the Do Not Expose More Than You Want chapter. Describing simple, yet powerful from APIDesignPatterns:

TBD: getter and setter is better than field TBD: no need for symmetry (a topic from Extreme Advice Considered Harmful chapter)

Personal tools
buy