Stepping back and looking at constness from another angle.

Bruno Medeiros brunodomedeiros+spam at com.gmail
Sat Jun 9 07:51:52 PDT 2007


Sean Kelly wrote:
> 
> corporate environments, and wonder why no one has ever complained about 
> Java's lack of const (to my knowledge).
> 

Well, I guess Java's lack of const is somewhat mitigated by having 
custom made mutable/const versions of classes. Like the mutable String 
vs. mutable StringBuilder, or the readonly Collection vs. the mutables 
List/Map/Set, etc..

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list