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

It provides a migration path that allows deprecating null entirely. The next step is to deprecate methods like Map#get in favour of versions that return Optionals, ultimately arriving at a language where null can never happen when doing non-deprecated things. It's a multi-decade project but I don't see any other way to get rid of null while maintaining Java backward compatibility.


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

Search: