Chapter 8. Managing asynchronous events and data
This chapter covers
- Identifying the challenges of writing asynchronous code
- Avoiding the use of nested callbacks through functional techniques
- Streamlining asynchronous code using promises
- Generating data lazily with function generators
- Introducing reactive programming
- Applying reactive programming to tackle event-driven code
Functional programmers argue that there are great material benefits—that a functional programmer is an order of magnitude more productive than his conventional counterpart, because functional programs are an order of magnitude shorter.
John Hughes, “Why Functional Programming Matters”[1]
From Research Topics in Functional Programming,” ed. D. Turner (Addison-Wesley, ...
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.