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
		
- 
				
				@NeatNerdPrime better to sift thru a long stack trace than get literally nothing.
- 
				
				@beegC0de a null, an Optional, whatever. I still wouldn't know what the fuck the actual issue is.
- 
				
				@redundandundant it takes a special kind of person to return null for a purpose. Even C programmers return integers for errors.
- 
				
				@d4ng3r0u5 just a wrapper around a type which forces you to make sure a value is present
Related Rants








 Coworker's whiteboard today
Coworker's whiteboard today
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