Mastering JavaScript Functional Programming

Functional programming is a programming paradigm that uses functions for developing software. This book is filled with examples that enable you to leverage the latest JavaScript and TypeScript versions to produce modern and clean code, as well as teach you to how apply functional programming techniques to develop more efficient algorithms, write more concise code, and simplify unit testing.
This book provides comprehensive coverage of the major topics in functional programming to produce shorter, clearer, and testable programs. You’ll begin by getting to grips with writing and testing pure functions, reducing side effects, as well as other key features to make your applications functional in nature. The book specifically explores techniques to simplify coding, apply recursion, perform high-level 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 practical programming skills needed to confidently enhance your applications by adding functional programming to wherever it’s most suitable.

Type
ebook
Category
publication date
2023-04-28
what you will learn

Understand when to use functional programming versus classic object-oriented programming
Use declarative coding instead of imperative coding for clearer, more understandable code
Know how to avoid side effects and create more reliable code with closures and immutable data
Use recursion to help design and implement more understandable solutions to complex problems
Define functional programing data types with or without TypeScript, add type checking, and implement immutability
Apply advanced containers to get better structures to tackle errors and implement async programming

no of pages
614
duration
1228
key features
Apply functional programming concepts and techniques to everyday JavaScript or TypeScript programming * Master functional programming in JavaScript and TypeScript to solve real-world development problems * Apply functional programming to get better testable programs with higher modularity and reusability
approach
This book takes an easy-to-follow, step-by-step tutorial approach. You will make the most of JavaScript and TypeScript programming, focusing on applying functional programming techniques and styles. Instead of simply working with existing libraries, the book shows how to create your own basic building blocks, so you get to understand every concept in depth
audience
If you are a JavaScript or TypeScript developer looking to enhance your programming skills, then this book is for you. The book applies to both frontend developers working with frameworks such as React, Vue, or Angular as well as backend developers using Node.js or Deno.
meta description
Apply functional programming techniques to write testable terser code for frontend and backend development with improved clarity, concurrency, and performance
Purchase of the print or Kindle book includes a free PDF eBook
short description
Functional programming is a programming paradigm for software development based on functions. FP lets you confidently write terser code with greater concurrency. You’ll learn all about writing and testing pure functions, reducing side effects, and developing new programming skills to enhance your code by adding FP wherever it’s most suitable.
subtitle
Write clean, robust, and maintainable web and server code using functional JavaScript and TypeScript
keywords
Java; java programming; java book; TypeScript book; software developer; java coding; object oriented programming
Product ISBN
9781804610138