Shevek wrote:
This whole chained accessors thing is a definite perl-ism and will do you no favours with people for whom Perl is not a primary language.

Possible return values for write-accessors:

true/false
undef/error message
the previous value
the new value
[I would never have considered the object itself a valid return value until I saw Perl people doing it. I still don't.]

Bah. I've seen Java code doing it. I've seen EcmaScript code doing it. SmallTalk does it pretty much all the time. Besides, I like it :)


--
Robin Berjon <[EMAIL PROTECTED]>
Research Scientist, Expway      http://expway.com/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488




Reply via email to