Just because you can use null or undefined doesn’t mean you should. We talk about the problems that come up and how Optionals can help overcome them.
Just because you can use null or undefined doesn’t mean you should. We talk about the problems that come up and how Optionals can help overcome them.
After some slight frustration with the “Monadic” (Haskell/Elm) approach to null when learning Elm, I actually fully embrace it now:
We null things for no reason, too often. Usually laziness.