The Status of Const

Jonathan M Davis jmdavisprog at
Fri Aug 13 16:24:19 PDT 2010

On Friday, August 13, 2010 15:03:07 Tomek Sowiński wrote:
> I agree with the content, but not the tone. D's const makes all other
> mainstream const systems look petty. Applying the concept of transitivity
> has been revolutionary (hail Walter). Tail const is just a cable to the
> socket to make this wonderful device work out-of-box for programming
> masses.

In pretty much all cases other than references, D's const system is fantastic. 
It really simplified things in comparison to C++, and is overall a definite 
improvement. It's just with references that there's a big problem, and with 
them, they're better than what you get with Java's final, but it's still 
seriously lacking due to the whole thing becoming const instead of just the 

- Jonathan M Davis

More information about the Digitalmars-d mailing list