Properties: a.b.c = 3

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Jul 29 01:43:02 PDT 2009


Kagamin wrote:
> Andrei Alexandrescu Wrote:
>> The question is very simple: given that we're used with a specific 
>> semantics for a.b.c = 3, how can we address the fact that the semantics 
>> of this familiar operation is so different (and likely so useless) when 
>> properties replace fields?
> 
> You're solving problems that never came to life. Well... only as syntetic examples.

IMHO it's quite the contrary, a.b.c = 3 is a very simple and concrete 
problem that emphatically shows we haven't gotten properties up to snuff.

Andrei



More information about the Digitalmars-d mailing list