Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In a codebase heavily reliant on Optional it can be worthwhile to install NullAway just for the benefit of banishing that particular source of null. That doesn't help with dependencies of course (unless you are certain they also use a nullability checker), and calls to those will have to be wrapped with your favorite `null -> Optional.empty()` helper function.

The pain with allocation is temporary. It is one of the candidates to become value types.



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

Search: