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

Jonathan M Davis jmdavisProg at gmx.com
Fri Jan 25 11:30:22 PST 2013


On Friday, January 25, 2013 10:39:50 H. S. Teoh wrote:
> I've refrained so far from participating in this thread, but maybe it's
> time to say something.
[snip]

I agree with pretty much everything that you said, and it's exactly why we 
need explicit properties. So, we need to keep @property and make whatever 
adjustments are necessary in order to make it function like a variable would 
to the point that you can swap out variables and property functions without 
breaking code (though that will probably mean allowing something like marking 
variables with @property to make them be treated as rvalues rather than just 
improving the handling of property functions).

- Jonathan M Davis


More information about the Digitalmars-d mailing list