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
Comments
-
NeatNerdPrime2232193dI feel your pain... Java exceptions are as verbose as alan 'chatty man' carr.
-
redundandundant3130193d@NeatNerdPrime better to sift thru a long stack trace than get literally nothing.
-
redundandundant3130193d@beegC0de a null, an Optional, whatever. I still wouldn't know what the fuck the actual issue is.
-
beegC0de1218193d@redundandundant it takes a special kind of person to return null for a purpose. Even C programmers return integers for errors.
-
beegC0de1218193d@d4ng3r0u5 just a wrapper around a type which forces you to make sure a value is present
If there's one thing I'd gladly kill with fire, then pass it over a steamy steamroller, then burn it a tank of hot fluoroantimonic acid, is every fucking Java library that returns null instead of throwing a meaningful exception.
Is it really that difficult for you to throw an exception anyway, then let ME figure out if I can ignore it or not?
Thanks to you, now I have to do super messy reflection things just to figure why did you return a null.
I'm not your fucking psychologist trying to pull your inner secrets. But I have to be, for the sake of stability of my app. Which already has its own mess of problems on its own.
rant
null
java
library
exception