Join Slack
Powered by
I'd argue that `optional.orNull()?.foo()` is more ...
# announcements
k
kevinmost
09/13/2016, 6:26 PM
I'd argue that
optional.orNull()?.foo()
is more expressive than
optional.map(Foo::foo).orElse(null)
, though it does require declaring a non-standard extension function
3
Views
Open in Slack
Previous
Next