Functional Reactive Programming

What Does Functional Reactive Programming Mean?

Functional reactive programming (FRP) is a programming framework that combines functional and reactive programming techniques to build applications, services and devices. It enables changing the state or operation of the underlying platform dynamically with events and behaviors that change over continuous or discrete time.

Advertisements

Techopedia Explains Functional Reactive Programming

FRP is primarily designed for data sets or types that vary over time. FRP works on two core components or concepts: events and behaviors. Both of them represent values, which, once changed, will return into some action or reaction. For example, the movement of a computer mouse over a continuous period of time is a behavior, where the ever changing location of mouse arrow is its corresponding value. Similarly, the mouse click is an event and the place or quantity of clicks is the base value. FRP enables capturing and using these variables and their values with various applications and services, specifically in interactive computing environments such as animations, robotics, GUI and simulations.

Advertisements

Related Terms

Latest Programming Languages Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…