News for hackers. Stuff that matters.
Re:Monad Confusion and the Blurry Line Between Data and Comp... by spion on Saturday August 06, 2022 @09:13AM (#32367786)
Oh I understand the usefulness of individual monads and infact am very happy that the NodeJS community finally switched to promises from callbacks (even though they violate some of the monad laws, you still get a lot of the same benefits).

I just don't think the generalization of those concepts is very interesting. Monoids seem a lot more interesting to me, especially when it comes to splitting up computations (mapreduce) or partial computation caching, you can really come up with quite a few useful ones

Monads in comparision seem boring.

Re:Monad Confusion and the Blurry Line Between Data and Comp... by kelseyfrog on Saturday August 06, 2022 @02:28PM (#32370428)
I tend to agree on this. Understanding the power introspection trade-off is important. Monads, while supplying a lot of power, aren't terribly introspectable. Applicative functors have some degree of introspectability. While functors are the most introspectable, but have the least amount of power. Understanding these trade-offs is important when deciding to use the right of my power when solving a problem.