@property needed or not needed?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Nov 19 06:58:30 PST 2012


On 11/19/12 4:01 AM, monarch_dodra wrote:
> I kind of agree with Jonathan here. @property really shines when you
> want to "add" an attribute to a struct.

I kind of agree with him, too, but it would be a mistake to not reckon a 
change in dynamics. UFCS makes all those extra parens just awkward, and 
people will vote with their code regardless whether some particular 
viewpoint from some particular angle considers the approach backwards.

Andrei


More information about the Digitalmars-d mailing list