Functional Reactive Programming

Functional Reactive Programming

by Anthony Jones, Stephen Blackheath

245 pages· 2015· ISBN 9781633430105
About
Most software applications must handle user or system-generated events. The most widely-accepted event handling model is the Observer pattern, in which an object "listens" for changes in the application's state and then reacts by executing a unit of code—the problems is that this approach is prone to bugs. Functional Reactive Programming (FRP) is an alternative to the Observer pattern. It's designed to deal with events as a stream of values over time rather than as a series of unique responses to discrete changes in state, keeping logic tidy and eliminating the bugs that plague event handling code with no loss of expressiveness. FRP is useful anywhere the Observer pattern is common, including user interfaces, video games, networking, and industrial applications. Functional Reactive Programming teaches the concepts and applications of FRP. It begins with a careful walk-through of the FRP core operations and introduces the concepts and techniques needed to use FRP in any language. Following easy-to-understand examples, readers will learn how to use FRP in greenfield applications and how to refactor existing applications. Along the way, the book introduces the basics of functional programming in a just-in-time style, so readers never learn anything before they need to use it. By the end of the book, readers will be able to use FRP to spend more time adding features and less time fixing problems. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Discuss Functional Reactive Programming with other readers

Join or start a book club for Functional Reactive Programming on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Functional Reactive Programming?

Sign up free on Readfeed, then browse public clubs or start your own club with Functional Reactive Programming as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Functional Reactive Programming with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Functional Reactive Programming with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.