Return null, get shot
Anywhere we expose a value that is optional and could be null, we expose a Maybe. This clearly demarcates when and where a value may or may not be present, and forces us to be more explicit about what happens if it’s not there.
Great article.
Nice. I like C++, TIL about std::optional.
I disagree, in Java. Every Java reference is already a Maybe. Accept it and own it. Using
Optionalis a lie and false sense of security.