Kona [[Getter]] and [[Setter]] descriptions

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Sun Nov 16 20:01:42 PST 2008


Allen Wirfs-Brock wrote:
> OK, I like those definitions.  Even though I just changed it I would now go back to calling them methods rather than functions (because this is bound when the functions are invoked).  Also we lost the "is" before "read" in the [[Getter]] definition.  So, the final form would be:
> 
> [[Getter]]  A zero-argument method called to produce the property value each time the property is read.
> 
> [[Setter]]  A one-argument method called with the assigned value each time the property is assigned. The effect of a property's [[Setter]] method may, but is not required to, affect the value produced by subsequent calls to the property's [[Getter]] method.

It is unclear what "read" and "assigned" mean here. If they mean uses of
GetValue and PutValue, the descriptions are not strictly correct.

-- 
David-Sarah Hopwood


More information about the Es-discuss mailing list