Re:JavaScript Promises Discussion: Make Them Monadic? (2013)
by mercer on Saturday February 17, 2018 @02:06PM
(#16402125)
While I agree, I've also found that it can be a danger. I thought I was all about the functional programming until I used languages that 'required' it. It was only then that I realized I'd been using non-functional escape hatches all over the place.
The nice thing about Monads is that once you learn the interface then encountering another is no big deal: you already know the API and how to use it. And it turns out this pattern is quite common.
[0] https://agentultra.com/blog/mostly-practical-functional-prog...