assume, assert, enforce, @safe

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 1 09:47:40 PDT 2014


"Daniel Gibson"  wrote in message news:lrgcei$211u$1 at digitalmars.com...

> I'm a bit surprised that back then your reaction was not "well, that's a 
> neat idea, but people must know about it, so let's make it explicit in the 
> documentation".

Haha, I think back then there were much more serious issues with D, like 
abundant segfaults and a development team of ~2.

> If assert() would have been documented or even advertised as "can be used 
> for optimizations by compilers in release mode" from day one, this 
> discussion wouldn't have started or at least would have been over very 
> soon.

I expect that even if it had been documented, people would have completely 
ignored it, and would still be arguing for the exact same positions. 



More information about the Digitalmars-d mailing list