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

Dmitry Olshansky dmitry.olsh at gmail.com
Fri Jan 25 10:09:18 PST 2013


25-Jan-2013 02:32, Adam D. Ruppe пишет:
> On Thursday, 24 January 2013 at 22:28:04 UTC, Jonathan M Davis wrote:
>> However, I do think that would be able to mark variables such that
>> they're treated as rvalues such that swapping a
>> variable out with a property function dosen't break code
>

IMHO this is a critical part of what a property should do - 
transparently swapping fields with some functional accessors.


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list