DEV Community

Discussion on: Monad Say What? (Part 1)

Collapse
 
joelnet profile image
JavaScript Joel

Great article. Though I think someone unfamiliar with functional programming will get lost around the code block where you introduce: Assign, Maybe, composeK, converge, isArray,
isObject, isString, liftA2, mreduceMap, objOf,
prop, safe
.

There is a lot to digest in there. If you don't already have an understanding of every one of those functions, you risk losing the reader.

It could be helpful to have a step before this to explain these concepts. I think if someone already understands these, they will also already know what a Monad is too.

Cheers!

Collapse
 
evilsoft profile image
Ian Hofmann-Hicks

Thanks so much for the feedback.
The intent for that is not to understand it, but compare how things look differently. Personally I like to show the end goal, at a glance. It is my hope by the end of this series they will be able to understand it.

Maybe I could lead with the paragraph saying it is okay to not understand this, just look at the style. Thoughts?

Collapse
 
joelnet profile image
JavaScript Joel

I guess it depends on who your target audience is. There are a lot of functions a non FPer has never been exposed to.