DIP6: Attributes

Nick Sabalausky a at a.a
Sat Aug 1 14:20:46 PDT 2009


"Adam D. Ruppe" <destructionator at gmail.com> wrote in message 
news:mailman.258.1249155638.14071.digitalmars-d at puremagic.com...
> On Sat, Aug 01, 2009 at 04:29:28PM -0300, Ary Borenszweig wrote:
>> http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP6
>
> What's the difference between this and a keyword? It seems to be a keyword
> with a different name.
>

It doesn't reduce the pool of available identifier names since user-created 
identifiers can't contain @ anyway (at least I don't think they can). Plus, 
(down the road, with the reflection stuff you mentioned) it would be 
possible to create new annotations purely in a library without requiring 
changes to the language or compiler. 





More information about the Digitalmars-d mailing list