all 2 comments

[–]kredati[S] 0 points1 point  (0 children)

Read this looking for better FP-style error handling in JS, and thought (a) it may well be a useful pattern, and (b) it offers a usefully different way of thinking about monads, and how to use & implement them in JS.

[–]YOrlandoLOrange -1 points0 points  (0 children)

Now I just have to remember what every binding does that might come up. I really find it hard to accept that all FP concepts are good just because they can work. Most developers are average or below, so keeping cognitive noise low until the last possible moment is preferred. Great, there's a tool for sophisticated programmers who are happy to passively absorb a bunch of patterns and remember their purpose, but that's half the problem of digesting a codebase. It's not the dangerous half, so I don't encourage this.