Skip to content

Comment on Monads, or Programmable Semicolons (2014)

Comments

Now that I'm on the side of "I know what a monad is", let me just say 95% of what people say monads are is complete trash and unhelpful. This includes calling them "semicolons".

I don't think this analogy sets up anyone for success. For a long time now I've wanted to do a series on "FP for OOP folks".

This is well understood, as witnessed by this classic article: https://byorgey.wordpress.com/2009/01/12/abstraction-intuiti...

There are already quite a few of those series. F# For Fun and Profit (fsharpforfunandprofit.com) does a good job of explaining the basic concepts, and the author's videos are a fun watch even if you already know everything he's talking about. Ploeh Blog (blog.ploeh.dk) has spilled countless pixels explaining the functional alternatives to various OO ways of doing things.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.