Chapter 1. Stop listening!

This chapter covers

  • What FRP is
  • What events are, and how they cause trouble
  • What FRP is for: the problem we’re trying to solve
  • The benefits of FRP
  • How an FRP system works
  • A different way of thinking that underlies FRP

Welcome to our book! We love functional reactive programming (FRP). Many people like the idea too, yet they aren’t entirely clear what FRP is and what it will do for them. The short answer: it comes in the form of a simple library in a standard programming language, and it replaces listeners (also known as callbacks) in the widely used observer pattern, making your code cleaner, clearer, more robust, and more maintainable—in a word, simpler.

It’s more than this: FRP is a very different way of ...

Get Functional Reactive Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.