GettersAndSetters

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Current revision (09:47, 1 September 2011) (edit) (undo)
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
Another topic from the [[Do Not Expose More Than You Want]] chapter. Describing simple, yet powerful from [[APIDesignPatterns]]:
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]]: getter and setter is better than field
-
TBD: no need for symmetry (a topic from [[Extreme Advice Considered Harmful]] chapter)
+
 
 +
[[TBD]]: no need for symmetry (a topic from [[Extreme Advice Considered Harmful]] chapter)
 +
 
 +
 
 +
[[Category:APIDesignPatterns]]
 +
[[Category:APIDesignPatterns:Encapsulation]]

Current revision

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