Program logic bugs vs input/environmental errors

via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 31 22:01:32 PDT 2014


On Saturday, 1 November 2014 at 03:39:02 UTC, Walter Bright wrote:
> Those are environmental errors, not programming bugs, and 
> asserting for those conditions is the wrong approach.

The point is this: what happens in the transaction engine 
matters, what happens outside of it does not matter much.

Asserts do not belong in release code at all...


More information about the Digitalmars-d mailing list