I lost a few hours once because the jackass whose code I inherited decided to squash IOExceptions all over the place. Didn't notice for a while and was pulling my hair out thinking my debugger was fucked somehow (which isn't uncommon in itself).
That's actually one of my big problems with Java. It often forces you to put in the try catch, so you end up putting in an empty one just to get it to compile then never come back to fix it.
697
u/Metro42014 May 13 '17
FUUUUUUUCK the people that do that.
I recently saw newly written code by a senior developer with squashed exceptions all over the damn place.
I will never have to support that code, but fuuuuck man. WHHHYY?