top | item 13012336

Monads: Programmer’s Definition

2 points| andrzejsz | 9 years ago |bartoszmilewski.com

3 comments

order
[+] akamaozu|9 years ago|reply
Why do people never use regular words when describing functional programming concepts?

This was initially promising but, like every other "let me explain functional programming" write-ups, reduced to inscrutable babble before we make any headway.

Case in point: author starts talking about monadic composition before explaining what a monad is!

What would be helpful is avoiding functional programming terms, explaining concepts in everyday English (or non-FP terms) then labeling those concepts after the fact.

Maybe instead of functional composition, call it an array of functions that pass their return value to the next function in the array. Or a promise.

[+] andrzejsz|9 years ago|reply
If that would be that easy but if you want really easy introduction to category theory then check a book "how to bake a pie" by Eugenia Cheng have a good read