Chris Eidhof
chris.eidhof.nl · Personal blog · on HN since 2012
Chris Eidhof is a Swift developer who writes about iOS, functional programming, testing, and tooling.
What HN saysThe one HN comment is a general remark about monad tutorials, so commenters give no clear opinion; HN links it for Swift and Apple development essays.
17HN people shared it
1linked it in comments
30stories submitted
55story points
4 years agolast shared
2012people per year2026
Most-shared posts
- 1Intentions: An experiment in Ultralight View Controllers2 people · 2 points · first shared 2014 · discussion on HN
- 2Literate Swift: A Tool for Writing Swift and Markdown1 people · 4 points · first shared 2015 · discussion on HN
- 3Changing Tech Education1 people · 4 points · first shared 2012 · discussion on HN
- 4We launched Deckset1 people · 3 points · first shared 2014 · 1 comments on HN
- 5Ideas for open source projects in Swift1 people · 3 points · first shared 2014 · discussion on HN
- 6Protocol Oriented Programming Is Not a Silver Bullet (Swift)1 people · 3 points · first shared 2016 · discussion on HN
- 7Types vs. TDD a response1 people · 3 points · first shared 2017 · discussion on HN
- 8Entitled1 people · 3 points · first shared 2012 · discussion on HN
- 9Swift Tuples, Structs and Enums1 people · 2 points · first shared 2014 · discussion on HN
- 10Becoming a better programmer: test-driven development on iOS1 people · 2 points · first shared 2012 · discussion on HN
- 11Struct Semantics in Swift1 people · 2 points · first shared 2015 · discussion on HN
- 12QuickCheck in Swift1 people · 2 points · first shared 2014 · discussion on HN
- 13Parsing JSON in Swift1 people · 2 points · first shared 2014 · discussion on HN
- 14Swift in Production: Scenery1 people · 2 points · first shared 2015 · discussion on HN
- 15My perfect co-founder1 people · 2 points · first shared 2012 · discussion on HN
What HN people wrote when they linked it
stevetrewick · 2016-04-23
I've read a ton of such blog posts recently in exploring this subject - seems like the tradition is as soon as you believe you understand the monad you must immediately write a blog post explaining it and pointing out why everyone else's metaphor is too complicated.
This one is kind of nice in its succinctness, but that ends up meaning it doesn't explain why I should care or what I would do with my monad once I have grokked it.
I've yet to write my personal "how I grokked my monad and why everyone else is wrong" post, but I suspect that there's probably a sweet spot somewhere between 'monad is simply a monoid in the category of endofunctors' and a 'plain English' translation of the monad laws with no context. Preferably with an explanation of why I would want or need such a thing up front. Preferably without Haskell notation.
That said, such an intro would probably still be pretty hard going, some things are just hard, or at least difficult to understand without context. I said I've been reading lots of these recently, actually I've been reading them for a couple of years, but I've only been understanding them recently because I've bumped into a problem domain for which the solution I was groping for in the dark turned out to be a monad.
Swift wise, I found the following to be very…