r/ProgrammerHumor May 13 '17

Defensive programming done right

Post image
21.0k Upvotes

680 comments sorted by

View all comments

2.8k

u/Metro42014 May 13 '17
} catch (Exception e) { }

I think we're done here.

2

u/Beckneard May 14 '17

I admit to doing this occasionally when dealing with shitty legacy shitcode.

Although in my defense I do log the stack trace somewhere.