Functional JavaScript: Introducing Functional Programming with Underscore.js

· "O'Reilly Media, Inc."
4.4
19 reviews
Ebook
260
Pages
Eligible

About this ebook

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

Ratings and reviews

4.4
19 reviews
András Sevcsik-Zajácz
June 16, 2016
It's very interesting to get introduced to the essence of functional programming in a language that's not FP-friendly at all, but impossible to avoid. This book teaches not only how, but why to do functional while also demonstrating how to overcome language limitations in very clever ways.
1 person found this review helpful
Did you find this helpful?
A Google user
October 5, 2014
Enjoyed this book
2 people found this review helpful
Did you find this helpful?
OZODBEK HASANOV
October 9, 2022
like
Did you find this helpful?

About the author

Michael Fogus is software developer with experience in distributed simulation, machine vision, and expert systems construction. He's actively involved in the Clojure and Scala communities.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.