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

Master Functional Programming techniques with this comprehensive guide for writing cleaner, safer, high-performing JavaScript codesKey FeaturesBecome proficient and skilled with Functional Programming in JavaScript to solve real-world development problemsSuccessfully apply Functional Programming concepts and techniques to everyday JavaScript programmingBring modularity, reusability, testability, and performance to your web appsBook DescriptionFunctional 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 learnCreate more reliable code with closures and immutable dataConvert existing methods into pure functions, and loops into recursive methodsDevelop more powerful applications with currying and function compositionSeparate the logic of your system from implementation detailsImplement composition and chaining techniques to simplify codingUse functional programming techniques where it makes the most senseTable 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

Author: Federico Kereki

Learn more

Deals