Sufficient, but disappointing
I suppose it’s a decent book for those that are new to Javascript and functional programming, especially if your’re interested in Typescript. I was hoping to get more out of the sections dealing with Functors and Monads, but the book fell short in this area.
Yes, the explaination sufficent and dumbed down enough to understand, but lacking enought pactical application to real world problems to full grasp their benefits.
I felt there was too much “Do as I say, not as I do” in the book. For example the section on binary trees, shows a bunch of assertions into the tree is a series of mutations on the tree variable. A seasoned functional programmer would never do THIS, so I don’t understand why the author would in a book teaching FP. This should shave been written as a pipe. ie `const newTree = pipe(insert(5), insert(7), insert(3))(tree)`.
The author appears very knowlegable, but seems to lack real experiece.
Finally, the mixing of Javascript and Typescript in the examples was very distracting. I would have much preferred that all the examples were given in javascript with Typescript annotations where applicable. All Typescript programmers can read Javascript, but many Javascript devlopers find reading Typescript distracting and tedious IMHO.
In the end, it wasn’t worth the price for my purpose.