Functional javascript using underscore
Functional javascript using underscore
Why?
A little while ago I picked up Functional Javascript by Michael Fogus. I’m only part way through it and to be honest I should probably have waited until I finished it before starting this post but…
There is a central theme to this book which intrigued me, indeed its one of the main tenets of functional programming. It can be summed up in this quote:
“It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.” - Alan Perlis