Stepping back and looking at constness from another angle.

Bill Baxter dnewsgroup at billbaxter.com
Tue Jun 5 22:36:42 PDT 2007


Jeff Nowakowski wrote:
> Sean Kelly wrote:
>> That said, I suspect it may be important for D to gain acceptance in 
>> corporate environments, and wonder why no one has ever complained 
>> about Java's lack of const (to my knowledge).
> 
> People have:
> 
> http://www.google.coam/search?q=java+const
> 
> I'm a Java programmer, and I have often wished for something like const. 
>  It would save me some bugs and some peace of mind in reasoning about my 
> code.  It would definitely help with threading.
> 
> By the way, from the above search I found a Java bug filed in 1999 
> requesting something like const.  The comments from Sun on why they will 
> not add it sound familiar:
> 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4211070
> 

Wow.  That's too funny.  Good find!
Reading some of the comments I can't help but chuckle to myself -- oh 
there's Don Clugston's doppleganger! oh and this guy sounds just like 
Yauheni Akhotnikau! Wait, there's Sean Kelly's twin too!  :-)

--bb



More information about the Digitalmars-d mailing list