52
fyroc
8y

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

Comments
  • 5
    Fix it properly... Trust me, you'll regret it later ;)
  • 4
    Haha even better, I gave it back to the guy who originally did the page. "WTH is this shit?" as my comment.
  • 1
    What'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?
  • 0
    @Jamoyjamie yeah, but for that management should give proper time to resolve which in some(most of) cases I don't get :/
  • 0
    If a proper try/catch support is simple to implement, then the offending code is either simple to fix or simply useless.
  • 1
    If 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.
Add Comment