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

Reply via email to