3 ms·
Option monad fixes null reference problems. Does not fix the ambiguity between not found vs doesn't exist.
by cphoover 8y ago
Option monad fixes null reference problems. Does not fix the ambiguity between not found vs doesn't exist.
- lmm 8y agoIf you have multiple possible reasons for a value to be "absent", that sounds like a case for an "either" or "result" type.