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

Jonathan M Davis jmdavisProg at gmx.com
Fri Jan 25 01:10:20 PST 2013


On Friday, January 25, 2013 09:54:02 eles wrote:
> Tooo bad, I feel like the best word for that, namely "@property"
> was wasted.

I dispute that we can't just use @property since it was its design from the 
get-go that it would require that there be no parens (it's even discussed in 
TDPL). It's just that it hasn't been properly enforced. Making it so that it's 
enforced would be like when we fixed it so that the compiler enforced that final 
switch statements had cases for all of an enum's values. Code which followed 
the spec was unaffected, and for any code that _was_ affected, the new 
enforcement was catching a bug.

- Jonathan M Davis


More information about the Digitalmars-d mailing list