Functional Programming in JavaScript

Unlock the powers of functional programming hidden within JavaScript to build smarter, cleaner, and more reliable web apps About This BookDiscover what functional programming is, why it's effective, and how it's used in JavaScriptUnderstand and optimize JavaScript's hidden potential as a true functional languageExplore the best coding practices for real-world applicationsWho This Book Is ForIf you are a JavaScript developer interested in learning functional programming, looking for the quantum leap towards mastering the JavaScript language, or just want to become a better programmer in general, then this book is ideal for you. It is aimed at programmers involved in developing reactive frontend apps, server-side apps that wrangle with reliability and concurrency, and everything in between.What You Will 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 In DetailThis 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.

Author: Dan Mantyla

Learn more