Error handling with try catch (AGAIN)

Posted by Eatdoku on Stack Overflow See other posts from Stack Overflow or by Eatdoku
Published on 2010-03-29T22:04:34Z Indexed on 2010/03/29 22:13 UTC
Read the original article Hit count: 112

Filed under:

Hi,

just a general question, do you ALWAYS have to handle error?

i was just having this debate with one of my coworker where in his code I see a lot places where stuff are wrapped around a try statement and in the catch statement there is nothing.

I always thought it is a bad practice to not handling error or hide them from the user (except log them in the log file).

just want to know what other people thinks

thanks.

© Stack Overflow or respective owner

Related posts about error-handling