Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
fyroc582610yHaha even better, I gave it back to the guy who originally did the page. "WTH is this shit?" as my comment. -
Knossos52710yWhat's wrong with a try... catch? That's the proper way of dealing with an exception. Handle that error. Or is it something like a completely avoidable NPE? -
Arpit0522010y@Jamoyjamie yeah, but for that management should give proper time to resolve which in some(most of) cases I don't get :/ -
tnnn36410yIf a proper try/catch support is simple to implement, then the offending code is either simple to fix or simply useless. -
Jamoyjamie290510yIf a try catch is the best way to fix it, obviously that should be used. I had assumed that they just meant use a try catch to lessen the impact should it fail.

Should I fix this properly or just wrap it in a try/catch? hmmm
undefined