Program logic bugs vs input/environmental errors

via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 12 11:40:08 PST 2014


On Sunday, 9 November 2014 at 21:44:53 UTC, Walter Bright wrote:
> Having assert() not throw Error would be a reasonable design 
> choice.

What if you could turn assert() in libraries into enforce() using 
a compiler switch?

Servers should be able to record failure and free network 
resources/locks even on fatal failure.





More information about the Digitalmars-d mailing list