Hacker News new | past | comments | ask | show | jobs | submit login

It’s just something you have to avoid. It’s not hard to avoid though, unless you are doing bizarre and non idiomatic things with Optional. I have never actually seen a NullPointerException resulting from a null Optional, in my code or my coworkers’, and I’ve been writing Java since their inception.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: