The Wrong Stuff

Torarin torarind at gmail.com
Sat Sep 25 07:05:09 PDT 2010


2010/9/25 "Jérôme M. Berger" <jeberger at free.fr>:
>        Basically, all it does is defining a namespace for keywords. Since
> you can't define identifiers with an @, then whenever Walter wants
> to add a new keyword, he only has to pick one that start with @ to
> make sure that he won't break anyone's code.

I see. It guess it's good idea to have a namespace for lesser-used
keywords to avoid naming conflicts. My first impression was that
@ttributes were specialized comments, since the absence of @property
doesn't stop you from using property syntax, and @disable just
produces a nicer error message from the compiler.


More information about the Digitalmars-d mailing list