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

> Having null hostility at the compiler level would be a awesome next feature in java (fingers crossed).

This is being worked on, it seems [1]. I remember it being discussed here not too long ago, but can't find the link right now.

[1] https://openjdk.org/jeps/8303099




It was discussed 27 days ago: Null-Restricted and Nullable Types

https://news.ycombinator.com/item?id=41136974




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

Search: