Vision for the D language - stabilizing complexity?

Patrick Schluter via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 15 04:09:24 PDT 2016


On Friday, 15 July 2016 at 10:25:16 UTC, Shachar Shemesh wrote:
>
> I think the one that hurts the most is fixing "C++ fault" #3. 
> It means there are many scenarios in which I could put const in 
> C++, and I simply can't in D, because something somewhere needs 
> to be mutable.

Then it is not const and marking it as const is a bug. D enforces 
to not write a bug, what's wrong with that?



More information about the Digitalmars-d mailing list