byKey and byValue: properties or methods?
Nick Sabalausky
a at a.a
Tue Jan 17 16:29:31 PST 2012
"Nick Sabalausky" <a at a.a> wrote in message
news:jf53c2$u86$1 at digitalmars.com...
> "Peter Alexander" <peter.alexander.au at gmail.com> wrote in message
> news:jf4ull$n6b$1 at digitalmars.com...
>> 2. The -property flag *creates* a new kind of error, but doesn't actually
>> help find real problems with your code. Without properties, member
>> function access would always be a.b(), and this artificial error could be
>> avoided.
>>
>
> Bullshit. Without properties, member function access *ANY* many value
> accesses are "a.b()". Is this member value a plain-old-var or a function?
> Who knows! It's a leeked out implementation detail, hooray!
>
Obviously, I need to re-proofread *after* I edit... ;)
The:
"...member function access *ANY* many..."
Should be:
"...member function accesses *AND* many..."
(Little less grammatically non-sensical that way ;) )
More information about the Digitalmars-d
mailing list