C#5 desiderata

Don nospam at nospam.com
Sun May 30 04:49:25 PDT 2010


Simen kjaeraas wrote:
> Leandro Lucarella <llucax at gmail.com> wrote:
> 
>>> <g>. I just think that @ shouldn't be an excuse to be careless --
>>> anything with an @ in front is still part of the language. That's
>>> all.
>>
>> It shouldn't, that's (was?) the point of @. If the point of @ was to
>> create a namespace for keywords, it sucks...
> 
> With compiler- or language-given @keywords, there is no difference
> from other keywords, except they don't eat valid identifiers. With a
> user-configurable system, it's still part of a language, but that
> language is specific to the component in which the @keywords are
> being used, and thus does not pollute the namespace of keywords for
> other projects.

Except that they do eat identifiers for user-definable attributes...


More information about the Digitalmars-d mailing list