Functional Programming in JavaScript

Functional Programming in JavaScript

Language: English

Pages: 152

ISBN: 1784398225

Format: PDF / Kindle (mobi) / ePub


Unlock the powers of functional programming hidden within JavaScript to build smarter, cleaner, and more reliable web apps

About This Book

  • 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

Who This Book Is For

If 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 Detail

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.

Real World Windows 8 App Development with JavaScript: Create Great Windows Store Apps

Pro JavaScript Design Patterns

JavaScript Application Design: A Build First Approach

Beginning JavaScript Charts: With jqPlot, d3, and Highcharts

Download sample

Download

Rated 4.62 of 5 – based on 6 votes