Why D const is annoying

bearophile bearophileHUGS at lycos.com
Wed May 2 07:33:47 PDT 2012


Mehrdad:

> "Lazy-loading" and caching aren't exactly obscure or 
> rarely-used concepts --  which seems to be the way they are 
> portrayed here. They are *bound* to be used in any nontrivial 
> program.

Right.

- - - - - - - - - -

Andrei Alexandrescu:

> Casting away const should be statically disallowed in @safe 
> code.

I agree.

Bye,
bearophile


More information about the Digitalmars-d mailing list