1 min readOct 1, 2020
Agreed, Juan. isPresent() and get() should not be used as a replacement of null checks.
I would prefer using full-fledged Optionals API as map(), filter() and orElse() or roll back to the traditional non-Optionals style
Agreed, Juan. isPresent() and get() should not be used as a replacement of null checks.
I would prefer using full-fledged Optionals API as map(), filter() and orElse() or roll back to the traditional non-Optionals style
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app