Jump to ratings and reviews
Rate this book

Mastering JavaScript Functional Programming: In-depth guide for writing robust and maintainable JavaScript code in ES8 and beyond

Rate this book
Master functional programming techniques with this comprehensive guide for writing cleaner, safer, and performant JavaScript code

Key FeaturesMaster functional programming in JavaScript to solve real-world development problemsApply functional programming concepts and techniques to everyday JavaScript programmingBring modularity, reusability, and testability to your web appsBook DescriptionFunctional programming is a programming paradigm for developing software using functions. With functional programming, you can write more concise code, with increased concurrency and performance. Moreover, the JavaScript language is particularly compatible with functional programming.

In this book, you'll explore major topics in functional programming with JavaScript to effectively produce shorter, cleaner, and testable programs. You'll delve into functional programming, and get up to speed with writing and testing pure functions, and even reducing side-effects, along with discovering other features to make your applications functional in nature. As you advance, you'll cover techniques to simplify coding, apply recursion for loopless coding, achieve immutability, implement design patterns, and also work with data types.

By the end of this book, you'll have mastered the JavaScript skills you need to confidently program functional applications.

What you will learnCreate reliable code with closures and immutable dataConvert existing methods into pure functions, and loops into recursive methodsDevelop powerful applications with currying and function compositionSeparate the logic of your system from implementation detailsImplement composition and chaining techniques to simplify codingUnderstand how to implement object-oriented programming design patterns in functional programmingWho this book is forIf you are a JavaScript developer who wants to apply functional programming techniques, then this book is for you. Basic knowledge of functional programming concepts is required.

Table of ContentsBecoming Functional - Several QuestionsThinking Functionally - A First ExampleStarting Out with Functions - A Core ConceptBehaving Properly - Pure FunctionsProgramming Declaratively - A Better StyleProducing Functions - Higher-Order FunctionsTransforming Functions - Currying and Partial ApplicationConnecting Functions - Pipelining and CompositionDesigning Functions - RecursionEnsuring Purity - ImmutabilityImplementing Design Patterns - The Functional WayBuilding Better Containers - Functional Data Types

388 pages, Kindle Edition

Published November 29, 2017

29 people are currently reading
99 people want to read

About the author

Federico Kereki

7 books14 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
15 (53%)
4 stars
11 (39%)
3 stars
2 (7%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
5 reviews
December 30, 2021
Loved this book. It was a great guide towards understanding functional programming. Along with JavaScript Allonge, this is one of my most recommended books for someone interested in learning to code in a more functional style.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.