Const system names

dennis luehring dl.soluz at gmx.net
Tue Feb 16 10:20:38 PST 2010


>>I don't agree that immutable should be the the default.  The default should be the most common case, which is mutable.<
>
> Is it true that mutables are the most common?

no - but (as we all know very well) most programmers do not pay any 
attention to (i)mutable or const, final and whatever at all

so i would also vote for immutable everywhere possible - the few cases 
where mutables are needed - not based on programmers lazyness - are 
no-counters for me



More information about the Digitalmars-d mailing list