3 ms·
> Isn't it being null sometimes — the whole point? No you have it backwards - the whole point is that Optional is never null. You use empty instead.
by chrisseaton 6y ago
> Isn't it being null sometimes — the whole point?
No you have it backwards - the whole point is that Optional is never null. You use empty instead.