3 ms·
For me it's very common to defer error handling. For instance I'm logging most runtime errors and later I receive a nice report over email. I then click on the
by bad_user 14y ago
For me it's very common to defer error handling. For instance I'm logging most runtime errors and later I receive a nice report over email. I then click on the links provided and I get nice call-stack traces. I then go and fix those errors.
And while it would have been better to treat those errors in the first place, we do know that's not possible and trying to force the developers only leads to code such as ...
try {
...
} catch(Exception ex) {}
Checkout this piece on checked exception, also by a Google employee:
http://googletesting.blogspot.ro/2009/09/checked-exceptions-i-love-you-but-you.html http://googletesting.blogspot.ro/2009/09/checked-exceptions-...