The Wrong Stuff

Simen kjaeraas simen.kjaras at gmail.com
Sat Sep 25 03:28:35 PDT 2010


Torarin <torarind at gmail.com> wrote:

> 2010/9/24 Jonathan M Davis <jmdavisProg at gmx.com>:
>> However, we're not going to double the number of keywords that we have,  
>> and the
>> @ syntax has allowed us to remove some keywords and will allow us to  
>> add more
>> stuff later without having to add keywords.
>
> Why are attributes not considered keywords? Because the compiler
> doesn't care about them?

Mostly because normal keywords eat up valid identifiers, while @tributes
don't. That said, @tributes are of course keywords too.

-- 
Simen


More information about the Digitalmars-d mailing list