Functional JavaScript

Functional JavaScript

Introducing Functional Programming with Underscore.js

by Michael Fogus

260 pages· 2013· ISBN 9781449360788
About
How can you overcome JavaScript language oddities and unsafe features? With this book, you’ll learn how to create code that’s beautiful, safe, and simple to understand and test by using JavaScript’s functional programming support. Author Michael Fogus shows you how to apply functional-style concepts with Underscore.js, a JavaScript library that facilitates functional programming techniques. Sample code is available on GitHub at https://github.com/funjs/book-source. Fogus helps you think in a functional way to help you minimize complexity in the programs you build. If you’re a JavaScript programmer hoping to learn functional programming techniques, or a functional programmer looking to learn JavaScript, this book is the ideal introduction. Use applicative programming techniques with first-class functions Understand how and why you might leverage variable scoping and closures Delve into higher-order functions—and learn how they take other functions as arguments for maximum advantage Explore ways to compose new functions from existing functions Get around JavaScript’s limitations for using recursive functions Reduce, hide, or eliminate the footprint of state change in your programs Practice flow-based programming with chains and functional pipelines Discover how to code without using classes

Discuss Functional JavaScript with other readers

Join or start a book club for Functional JavaScript on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Functional JavaScript?

Sign up free on Readfeed, then browse public clubs or start your own club with Functional JavaScript as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Functional JavaScript with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Functional JavaScript with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.