O'Reilly logo

Functional Programming in JavaScript by Luis Atencio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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]

1

From Research Topics in Functional Programming,” ed. D. Turner (Addison-Wesley, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required