pure, safe and generalized attributes
Georg Wrede
georg at nospam.org
Wed Apr 9 08:05:09 PDT 2008
Janice Caron wrote:
> On 05/04/2008, Knud Soerensen <4tuu4k002 at sneakemail.com> wrote:
>
>>I see that the D manual already have something called attributes
>> it might have been confusing you.
>
>
> Yes it was. I assumed that "attribute" meant what it means in the D
> grammar docs.
>
> This wasn't the first time that confusion was caused by two people
> assuming the same word meant two different things. I'm sure it won't
> be the last! :-)
>
> That said, you'd probably want your constraints to be attributes
> anyway. That is, you'd want to put them anywhere you can currently put
> "static", "private", etc.
This would be enormously confusing to people reading others' code.
More information about the Digitalmars-d
mailing list