byKey and byValue: properties or methods?

Jonathan M Davis jmdavisProg at gmx.com
Thu Jan 19 16:19:13 PST 2012


On Thursday, January 19, 2012 18:07:50 Andrei Alexandrescu wrote:
> Yah, but .length acts to a better extent like an lvalue.

True, but that's because it's both a getter and a setter. What's weirder IMHO 
is properties which are just setters, but they do make sense once in a while.

- Jonathan M Davis


More information about the Digitalmars-d mailing list