Chapter 11. Programming in the real world

This chapter covers

  • Dealing with I/O
  • Working with promises and futures
  • Distributed processing
  • Unit testing

Functional programming in general gives you an idealized programming model, allowing you to focus on the problem itself, and FRP does this too. In chapter 9, you bounced a ball in an ideal world of continuous time, as if in some Zen squash court from the movie The Matrix. Earlier, chapter 8 covered some of the uncharted, more operational areas of the FRP design space. But sooner or later, you’ll have to deal with something even more terrifying: the real world.

I/O is notorious for presenting intractable difficulties and complexities. I/O and logic tend to mutually complicate each other, ...

Get Functional Reactive Programming 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.