I disagree. I&#x27;d rather getWhenPresent than orElse if the code has nothing to do with a missing value. If someone needs the value and uses orElse without isPresent, their code will break in new and unexpected ways rather than in the obvious one.<p>(An even better solution is SWIFT&#x27;s approach to nullable types, but that boat has sailed; intellij etc could however implement a static checker for bare Optional-getting)