Compiler hints, inlining and syntax consistency
Jacob Carlborg
doob at me.com
Sat Dec 28 06:32:19 PST 2013
On 2013-12-28 12:38, "Ola Fosheim Grøstad"
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> I don't grasp the motivation for the naming of keywords in D. I think
> the syntax would be more clear if "@" was reserved for compiler hints.
Originally @ was added for some new keywords to get a new "namespace"
for keywords. There was no risk of conflict with existing symbol names
since @ wasn't allowed in symbol names. Since UDA's were introduces this
isn't the case anymore.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list