byKey and byValue: properties or methods?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Jan 19 09:33:24 PST 2012
On 1/19/12 11:29 AM, torhu wrote:
> The reason would be that if it looks like field access, it should behave
> like that.
The difficulty is in knowing where to stop. The only things that behaves
exactly like a field access is a field access. This is a known issue in
C++, e.g. smart pointers "are smart but aren't pointers".
Andrei
More information about the Digitalmars-d
mailing list