3 ms·
A nice analogy, but I would argue that as monads are at a higher level of abstraction than nullables it's more akin to "but what is this if stuff?" It is the f(
by lubutu 15y ago
A nice analogy, but I would argue that as monads are at a higher level of abstraction than nullables it's more akin to "but what is this if stuff?" It is the f(v) if v else None which is analogous to GOTO, not the simpler and more direct v >>= f.
- Dylan16807 15y agoFollowed by a misleading explanation that suggests turning ALL your gotos into ifs.