Discover Functional JavaScript
Author | : Cristian Salcescu |
Publisher | : |
Total Pages | : 159 |
Release | : 2019-05-04 |
ISBN-10 | : 1095338781 |
ISBN-13 | : 9781095338780 |
Rating | : 4/5 (780 Downloads) |
Download or read book Discover Functional JavaScript written by Cristian Salcescu and published by . This book was released on 2019-05-04 with total page 159 pages. Available in PDF, EPUB and Kindle. Book excerpt: JavaScript is the first language to bring Functional Programming to the mainstream. At the same time, it offers a new way of doing Object Oriented Programming without classes and prototypes. Programming in a functional style means to use concepts such as first-class functions, closures, higher-order functions, partial application, currying, immutability or pure functions. Pure Functional Programming promises to make code easier to read, understand, test, debug or compose. Can it deliver its promise? If it can, can we build an application using only pure functions? Decorators are a tool for reusing common logic and creating variations of existing functions. Closure can encapsulate state. Multiple closures sharing the same private state can create flexible and encapsulated objects. "One of the best new Functional Programming books" - BookAuthority