property / getProperty() / setProperty()

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Aug 1 09:21:04 PDT 2009


bearophile wrote:
> Andrei Alexandrescu:
>> Thanks. So it looks like get_property() and set_property() could fly. 
>> How does that sound?
> 
> Not too much good. Among the simpler solutions there's the 'property' attribute, that while not helping in reducing code (it makes code longer!) solves most problems, while being simple. It's the minimal solution that I think will work/fly.

We can't throw keywords at problems like they're getting out of style. 
I've noticed that here every little problem gets solved by a little 
keyword. If not, some arcane new syntax. Nobody seems to care about 
rewriting, which I think is best.


Andrei



More information about the Digitalmars-d mailing list