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
-
That isn't a thing?
I mean, not me. A friend of mine does use that. Yeah. That...monster! -
@runfrodorun agreed, it's not the tidiest of patterns.
I've just had too many instances where I've been debugging a production issue and have found that the application has crapped out, but has kept trundling along because the problem's been suppressed by an empty catch block... I can't even -
hjk10157318yI actually made one because of a stupid exception that occurred only when windows was shutting down (and in the mean time prevented windows from doing so). The catch made the program terminate properly and safely.
It's a long time ago so I might have logged the event but certainly did not handle it properly. -
Xenotoad528y@runfrodorun Yeah, after trying Rust, I miss the exception/try/catch, but at least I handle my errors the right way in one language now
Related Rants
Oh also empty catch blocks
undefined
wk47