Composing Software: An Exploration of Functional Programming and Object Composition in JavaScript

Composing Software: An Exploration of Functional Programming and Object Composition in JavaScript
Composing Software: An Exploration of Functional Programming and Object Composition in JavaScript by Eric Elliott
English | 2019 | ISBN: n/a | 229 Pages | True PDF, EPUB, MOBI | 10 MB

All software design is composition: the act of breaking complex problems down into smaller problems and composing those solutions. Most developers have a limited understanding of compositional techniques. It’s time for that to change.
In “Composing Software”, Eric Elliott shares the fundamentals of composition, including both function composition and object composition, and explores them in the context of JavaScript. The book covers the foundations of both functional programming and object oriented programming to help the reader better understand how to build and structure complex applications using simple building blocks.
You’ll learn:

  • Functional programming
  • Object composition
  • How to work with composite data structures
  • Closures
  • Higher order functions
  • Functors (e.g., array.map)
  • Monads (e.g., promises)
  • Transducers
  • Lenses

All of this in the context of JavaScript, the most used programming language in the world. But the learning doesn’t stop at JavaScript. You’ll be able to apply these lessons to any language. This book is about the timeless principles of software composition and its lessons will outlast the hot languages and frameworks of today. Unlike most programming books, this one may still be relevant 20 years from now.