Functional Programming in JavaScript

More Information
Learn
  • Separate core logic from the program state to write more maintainable code
  • Replace ugly for loops with pure functions and recursion
  • Simplify code with method chains of pure, higher-order functions
  • Create more reliable code with closures and immutable data
  • Explore lazy evaluation strategies and what they can accomplish
  • Develop more powerful applications with currying and function composition
  • Use promises, functors, monads, and function factories
About

This is a fast-paced guide that will help you to write real-world applications by utilizing a wide range of functional techniques and styles.

The book first explores the core concepts of functional programming common to all functional languages, with examples of their use in JavaScript. It's followed by a comprehensive roundup of functional programming libraries for JavaScript that minimizes the burden of digging deep into JavaScript to expose a set of tools that makes functional programming not just possible but highly convenient. The book then rounds off with an overview of methods to effectively use and mix functional programming with object-oriented programming.

Features
  • Discover what functional programming is, why it's effective, and how it's used in JavaScript
  • Understand and optimize JavaScript's hidden potential as a true functional language
  • Explore the best coding practices for real-world applications
Page Count 172
Course Length 5 hours 9 minutes
ISBN 9781784398224
Date Of Publication 25 Mar 2015

Authors

Dan Mantyla

Dan Mantyla works as a web application developer for the University of Kansas. He enjoys contributing to open source web frameworks and wrenching on motorcycles. Dan is currently living in Lawrence, Kansas, USA—the birthplace of Python Django and home to Linux News Media.

Dan has also clicked the cover image, which was taken outside his home in Lawrence, Kansas, USA, where the sunflower fields are in bloom for only one short week in September.