Change some keywords and enum manifests?

Simen kjaeraas simen.kjaras at gmail.com
Tue Apr 27 11:04:24 PDT 2010


bearophile <bearophileHUGS at lycos.com> wrote:
> Recently I have also suggested to replace the keyword "immutable" with  
> something shorter, because I am writing it often in the code, something  
> like "val", as used in Scala. But this has not gotten lot of interest  
> from people.

That's because 'val' says absolutely nothing about the variable's
constancy. Immutable may be a mouthful, but at least it conveys some
useful information even for those who have not read the manual.

-- 
Simen



More information about the Digitalmars-d mailing list