The Wrong Stuff

Bruno Medeiros brunodomedeiros+spam at com.gmail
Mon Oct 25 07:32:45 PDT 2010


On 26/09/2010 14:26, Michel Fortin wrote:
> Unfortunately, one attribute with the @ syntax in D -- and I'd say the
> flagship one as it was the first and most discussed -- is not a pure
> annotation as it has a noticeable effect on semantics. I'm talking about
> @property which, if it ever get implemented, changes your function so it
> simulates a field. In Herb's terms, @property is clearly a keyword in
> disguise.

You don't want attributes to affect semantics? That's odd, it seems to 
me the most useful scenarios for @attributes is actually to affect 
semantics, and they're somewhat limited otherwise.
I mean, what exactly do you mean by "effect on semantics" ?


-- 
Bruno Medeiros - Software Engineer


More information about the Digitalmars-d mailing list