Re:Functors and Monads for People Who Have Read Too Many “Tu...
by loopz on Saturday June 26, 2021 @09:50AM
(#27641834)
In most languages you will lack the Monad type and helper functions, and you'll have available many shortcuts that undermine efforts to set up monadic expressions.
So something can behave similarly to a monad, but the type systems don't stop you self-sabotaging your code or misunderstanding good composition.
Best way to learn is to learn Haskell deliberately. Better than Go, the language forces you to compose better code, and even learn the values of FP.
If one is uninterested in learning CS or expanding one's toolbelt, it'll take some years until industry catches up.
So something can behave similarly to a monad, but the type systems don't stop you self-sabotaging your code or misunderstanding good composition.
Best way to learn is to learn Haskell deliberately. Better than Go, the language forces you to compose better code, and even learn the values of FP.
If one is uninterested in learning CS or expanding one's toolbelt, it'll take some years until industry catches up.