Mastering JavaScript Functional Programming Front Cover

Mastering JavaScript Functional Programming

  • Length: 386 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2017-11-29
  • ISBN-10: 1787287440
  • ISBN-13: 9781787287440
  • Sales Rank: #373286 (See Top 100 Books)
Description

Master Functional Programming techniques with this comprehensive guide for writing cleaner, safer, high-performing JavaScript codes

Key Features

  • Become proficient and skilled with Functional Programming in JavaScript to solve real-world development problems
  • Successfully apply Functional Programming concepts and techniques to everyday JavaScript programming
  • Bring modularity, reusability, testability, and performance to your web apps

Book Description

Functional programming is a programming paradigm for developing software using functions. Learning to use functional programming is a good way to write more concise code, with greater concurrency and performance. The JavaScript language is particularly suited to functional programming.

This book provides comprehensive coverage of the major topics in functional programming with JavaScript to produce shorter, clearer, and testable programs.

You’ll delve into functional programming; including writing and testing pure functions, reducing side-effects, and other features to make your applications functional in nature.

Specifically, we’ll explore techniques to simplify coding, apply recursion for loopless coding, learn ways to achieve immutability, implement design patterns, and work with data types.

By the end of this book, you’ll have developed the JavaScript skills you need to program functional applications with confidence.

What you will learn

  • Create more reliable code with closures and immutable data
  • Convert existing methods into pure functions, and loops into recursive methods
  • Develop more powerful applications with currying and function composition
  • Separate the logic of your system from implementation details
  • Implement composition and chaining techniques to simplify coding
  • Use functional programming techniques where it makes the most sense

Table of Contents

  1. Becoming Functional – Several Questions
  2. Thinking Functionally – A First Example
  3. Starting Out with Functions – A Core Concept
  4. Behaving Properly – Pure Functions
  5. Programming Declaratively – A Better Style
  6. Producing Functions – Higher-Order Functions
  7. Transforming Functions – Currying and Partial Application
  8. Connecting Functions – Pipelining and Composition
  9. Designing Functions – Recursion
  10. Ensuring Purity – Immutability
  11. Implementing Design Patterns – The Functional Way
  12. Building Better Containers – Functional Data Types
To access the link, solve the captcha.