'idiomatic' porting of c and or c++ code that does NULL checking
Dominikus Dittes Scherkl via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 26 23:03:43 PDT 2014
On Wednesday, 27 August 2014 at 05:45:34 UTC, eles wrote:
> While this may be true in this case, I think that, in general,
> you cannot draw such a clear line between what's recoverable
> and what's not. If you really want to push things to the
> extreme, the sole unrecoverable error shall be assertion
> failure and the SIGKILL.
That's exactly the line I would draw.
_Nothing_ else is an error, so _everything_ is an exception.
Best forget about that something else even exist.
More information about the Digitalmars-d-learn
mailing list