Chapter 3. Few data structures, many operations
This chapter covers
- Understanding program control and flow
- Reasoning efficiently about code and data
- Unlocking the power of map, reduce, and filter
- Discovering the Lodash.js library and function chains
- Thinking recursively
Computational processes are abstract beings that inhabit computers. As they evolve, processes manipulate other abstract things called data.
Harold Abelson and Gerald Jay Sussman (Structure and Interpretation of Computer Programs, MIT Press, 1979)
Part 1 of this book accomplished two important goals: on one hand, those chapters got your feet wet by teaching you how to think functionally and introducing the tools you’ll need to use functional programming. Second, you took ...
Get Functional Programming in JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.