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 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 ebooks" - BookAuthority
Cristian Salcescu is the author of the "Functional JavaScript" and "Functional React" book series. He is a technical lead passionate about front-end development and enthusiastic about sharing ideas. He took different roles and participated in all parts of software creation. Cristian Salcescu is a JavaScript trainer and a writer on Medium.
Reminds me of the ol’ In A NutShell series of books-here’s the 2020’s successor! Thanks to the author, I was able to fill in all gaps I had on functional programming. I knew a lot of the concepts beforehand yet with the clear foundation-laying in the book, I feel well learned on the topic now. Clear and progressive examples throughout. Thanks so much for writing this! Moving onto the next in the series as recommended.