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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jan 24 12:01:23 PST 2013


On 1/24/13 1:37 PM, Adam D. Ruppe wrote:
> Thinking about it, this isn't quite a full circle. It does improve a bit.

Yes, I was about to write an email to destroy :o).

> If we aren't going dip21, how about:
>
> ===
>
> Everything stays the way it is now, except:
>
> * if a @property is called with parens, they always apply to the return
> value
>
> * -property hopefully dies.
>
> ===
>
>
> I don't really like it, it leaves a number of problems behind... but
> that would be an improvement on the status quo. I don't hate it.

Interesting, thanks.


Andrei


More information about the Digitalmars-d mailing list