Kona [[Getter]] and [[Setter]] descriptions
david.hopwood at industrial-designers.co.uk
Sun Nov 16 06:57:32 PST 2008
Peter Michaux wrote:
> Is there any need to discuss state at all when describing getters and
> setters? The motivation for getters and setters may have been to
> affect state, that isn't their only possible use. They are more
> generic than that.
> Would the following be sufficient?
> [[Getter]] A zero-argument method called each time the property is read.
> [[Setter]] A one-argument method called each time the property is assigned.
I agree with this argument. These descriptions are simple and sufficiently
More information about the Es-discuss