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

> I can’t remember the last time I encountered one by using the proper compile time checks.

When you're sufficiently careful, you can reduce accidental nulls down to the level of minor inconvenience.

But no amount of care on your part will stop your teammates from deliberately using nulls.



Code reviews usually help to stop that.


It's too embedded in the culture.

Even IntelliJ right now will tell you off for using an Optional field instead of a nullable one.




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

Search: