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
-
I've been called to help with so many bits of debugging where it "just wasn't working but there's no error message", and it turns out the above construct was masking a NullPointerException or similar...
Static code analysis tools can help ensure this is stamped out, if you want to push that to the higher ups. -
b3b340656ySince I'm doing mostly c I don't handle exceptions that often. On my java project that fetches data from the internet the lib I use often throws exceptions because the http status code was 503. I know that's because website owners don't like people like me. I simply try again a few times. Is that a thing to do or would it be better if I did it another way. But yes, simply handling every exception by doing nothing is bad... And ugly... And I hope these people will die one day because they couldnt fix a bug because they didn't print an error.
-
Legit laughed, sucks mate but I'm working on a JS codebase with multiple console logs and call backs.
-
Saw this rant on 49, couldn't bare that number, maybe OCD, so 50 it is, looks good now
Related Rants
I have been work at a company for about a year now and i havent seen an exception correctly handled ONCE.
rant
exception
handling
overrated