Functional Programming in JavaScript
Paperback or Softback 166 pages Aug 08, 2020
Millions of titlesEvery book you're looking for
Carbon-neutral shippingFree on orders over $39.99
Fast shipping worldwideDelivered to your door
In this book, you will find how to use JavaScript as a functional programming language.It turns out that JavaScript has everything it needs to be used as a functional language. We just have to remove features from the language starting with the 'this' keyword.Functions are values. Functions can operate on other functions. Inner functions can access variables from the outer functions even after the outer functions have been executed.Functional programming makes code easier to read, understand, test, and debug.Here are some of the things you will learn: How to disable 'this' and enable immutable data objects using a linterHow to work with immutable objects and collectionsHow to do data transformations using core operations like filter, map, sort, or reduceHow to use statements like if and switch in a functional wayHow to create pipelines and use currying to pass additional dataUnderstand functors and monadsHow to work with promises and observablesUnderstand the Elm Architecture
- Author:
- Cristian Salcescu
- Publisher:
- Independently Published
- Publication Date:
- Aug 08, 2020
- Number of pages:
- 166 pages
- Binding:
- Paperback or Softback
- ISBN-13:
- 9798671513851