PACKT - Mastering JavaScript Functional Programming

Organization: PACKT
Publication Date: 29 November 2017
Page Count: 371

Master Functional Programming techniques with this comprehensive guide for writing cleaner, safer, high-performing JavaScript codes About This Book • 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 Who This Book Is For If you are a JavaScript developer and want to apply functional programming techniques, then this book is for you. Only a basic knowledge of the concepts of functional programming is required for this book. 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

In Detail

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.

Style and approach

This book takes an easy-to-follow, step-by-step tutorial approach. You will make the most of JavaScript programming with a focus on the progression of functional programming techniques, styles, and detailed information about JavaScript libraries.