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

> not really idiomatic.

Really? I haven't used Java in a long time, but in the languages where I've used Optional types, you'd always check for presence once and then extract the value before further use.



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

Search: