A rationale for pure nothrow ---> @pure @nothrow (and nothing else changes)
Rainer Deyke
rainerd at eldwood.com
Fri Feb 26 14:57:47 PST 2010
On 2/26/2010 14:48, Don wrote:
> I really thought the explanation that "we made all attibutes use the @
> form, except those where it was prevented by historical precedent" was
> quite defensible.
I'd like to see *all* adjectives in the language, including those
inherited from other languages, turned into attributes. That would be
consistent. Historical precedent is less important to me than a clean
language.
To deal with the huge body of code that uses e.g. 'public' instead of
'@public', the compiler could be modified to accept both forms. Then
the non-attribute form could be deprecated and finally removed.
--
Rainer Deyke - rainerd at eldwood.com
More information about the Digitalmars-d
mailing list