Change some keywords and enum manifests?

Aziz K. aziz.koeksal at gmail.com
Tue Apr 27 09:49:31 PDT 2010


bearophile wrote:
>
>> > @manifest int x = 2010; // we use this. :-) :D
>
> I don't like that a lot :-) It's almost worse than "enum". Try again.

The idea is to reduce the number of keywords, so the use of @ is a must.

But like I suggested, alternatively we could simply replace enum manifests  
with the 'pure' keyword.
So 'pure' would have two meanings, depending on whether the symbol is a  
variable or a function.

-- 
Dil: http://code.google.com/p/dil/



More information about the Digitalmars-d mailing list