Hacker News new | ask | show | jobs
by coldtea 3894 days ago
>Java puts the burden to ensure safety on the programmer. (As can be witnessed in your snippet.)

And that's OK too, if less than ideal. The Optional type serves as a reminder to use it differently.