Re:Functional Programming using JavaScript
by joshuacc on Monday November 24, 2014 @10:46AM
(#8652867)
It's a fantastic book for getting your mind used to the functional way of thinking.
I'd also recommend JavaScript Allonge on the same topic. https://leanpub.com/javascript-allonge
Re:Functional Programming using JavaScript
by CrossEye on Monday November 24, 2014 @01:22PM
(#8653749)
For JS people wanting to learn FP, I'd recommend Allonge first. For FP people wanting to see how they can use JS in and FP manner, Fogus' Functional Javascript is a good book, and it's not a bad second book for the JS crowd.
Re:Functional Programming using JavaScript
by derengel on Monday November 24, 2014 @03:56PM
(#8654697)
I'm curious what you think about Clojurescript? leaving aside that it may be harder for teams to move to Clojurescript than to improve their JS codebase.
The reason for the question is that Clojurescript supports all the FP idioms of your slides more naturally and also has more FP features.
Re:Functional Programming using JavaScript
by CrossEye on Monday November 24, 2014 @10:09PM
(#8656085)
I've just started learning Clojure, and I haven't spent any time yet on Clojurescript.
Re:Functional Programming using JavaScript
by sbochins on Monday November 24, 2014 @02:51PM
(#8654367)
This book is great, it is very upfront that javascript has significant limitations if you're interested in functional programming. But, I think it lays out a great way to write much cleaner javascript code and ways to avoid mutability. There are tons of great functions that Michael writes in the book and would be very useful if not only as a set of utility functions alongside underscore.
I haven't read it yet.