@property - take it behind the woodshed and shoot it?

bearophile bearophileHUGS at lycos.com
Thu Jan 24 04:35:46 PST 2013


Bernard Helyer:

> To my mind, @property, properly implemented is simple:
>
> @property functions may be called with no parens or with 
> assignment as
> the singular argument. Non @property functions may not.
>
> There. No complications.

Sounds OK.

Instead of adding a -property, why wasn't this done since the 
beginning? (The right switch to add was -noproperty, to disable 
the feature, because most people do not use switches).

Bye,
bearophile


More information about the Digitalmars-d mailing list