Program logic bugs vs input/environmental errors
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon Sep 29 02:06:52 PDT 2014
On 9/29/2014 1:27 AM, Johannes Pfau wrote:
> In a daemon which logs to syslog or in a GUI application or a game an
> uncaught 'disk full exception' would go completely unnoticed and that's
> definitely a bug.
Failure to respond properly to an input/environmental error is a bug. But the
input/environmental error is not a bug. If it was, then the program should
assert on the error, not throw.
More information about the Digitalmars-d
mailing list