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 general. -- David-Sarah Hopwood _______________________________________________ Es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

