Re:Why Go Gets Exceptions Right
by bad_user on Friday September 14, 2012 @10:42AM
(#4521819)
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:
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 ...
Checkout this piece on checked exception, also by a Google employee:http://googletesting.blogspot.ro/2009/09/checked-exceptions-...