Program logic bugs vs input/environmental errors

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 18 09:01:42 PDT 2014


On Saturday, 18 October 2014 at 05:10:20 UTC, Walter Bright wrote:
>
> I understand that some have to work with poorly written 
> libraries that incorrectly use assert. If that's the only issue 
> with those libraries, you're probably lucky :-) Short term, I 
> suggest editing the code of those libraries, and pressuring the 
> authors of them. Longer term, we need to establish a culture of 
> using assert/enforce correctly.

So you consider the library interface to be user input?  What 
about calls that are used internally but also exposed as part of 
the library interface?


More information about the Digitalmars-d mailing list