3 ms·
Monads aren't really hard to understand if they're explained with a programmer's vocabulary. The only reason it seems hard is because "Haskell communicators"(li
by mtlmtlmtlmtl 4y ago
Monads aren't really hard to understand if they're explained with a programmer's vocabulary. The only reason it seems hard is because "Haskell communicators"(like that dude on youtube in the fuckin fedora) insist on importing all this mathematical jargon that's completely unnecessary. Then they have to explain all the jargon, and by the time they actually get to monads, you're thinking about what to have for dinner.
Now I don't use them for anything really, so I don't care enough to have remember what made sense to me back then. But if you know LISP, there's a good guide on the internet somewhere explaining how to implement monads in CL. It's essentially a PROGN that passes values around(IIRC).
- omginternets 4y agoAgreed. For such explanations, I generally turn to Brian Beckman: https://youtu.be/ZhuHCtR3xq8 https://youtu.be/ZhuHCtR3xq8
- mtlmtlmtlmtl 4y agoFunny, that's literally the video I was referring to. Guess it's not quite a fedora, I don't know anything about hats.
- lkuty 4y agoIMO Beckman video is very good. Recently I liked this video too: https://www.youtube.com/watch?v=C2w45qRc3aU https://www.youtube.com/watch?v=C2w45qRc3aU ("The Absolute Best Intro to Monads For Software Engineers" by " Studying With Alex "). I also suggested a few resources at https://news.ycombinator.com/item?id=28941127 https://news.ycombinator.com/item?id=28941127 which helped me much.