Skip to content

Reactive Programming

A programming paradigm that declares dependencies among changing values or events and lets an execution model propagate their effects to derived computations.

Core Idea

Reactive programming declares how changing values or events affect derived computations, then delegates propagation of those dependencies to a language or runtime. A formula remains related to its inputs when they change; it is not merely a one-time assignment followed by handwritten update calls. Push, pull and mixed evaluation are implementation variants, not separate definitions. Glitch avoidance is a desirable property but is not assured by every reactive implementation.[1]

How would you explain it like I'm…

Answers That Update Themselves

Think of a toy where, if you push one lever, another part moves on its own because they're connected. In reactive programming, you tell the computer how things are connected, like 'the total is the price times how many.' Then if the price changes, the total changes by itself, without you having to fix it.

Numbers That Update Themselves

Normally in programming, if you write total = price × quantity, the computer works it out once, and if price changes later, total stays the same until you recalculate. In reactive programming, that line becomes a lasting connection: the computer remembers that total depends on price and quantity and updates total whenever they change. It's like a spreadsheet, where a cell with a formula updates when the cells it uses change. Different reactive systems do the updating in different ways.

Managed Dependency Propagation

Reactive programming is a style of programming in which you describe values and events that change over time and declare how they relate, and the language or system handles updating everything that depends on them. If you declare total = price * quantity, the system knows total depends on price, so when price changes it arranges for total to be recalculated. Unlike a normal one-time assignment, the relation stays live. A spreadsheet is the classic comparison. The paradigm doesn't require one specific method: a system may push changes forward to dependents, recompute a value only when someone asks for it (pull), or mix both. It also doesn't automatically guarantee that every in-between state is consistent: a value may briefly combine new and outdated inputs, called a glitch, unless updates are ordered carefully.

 

Reactive programming expresses computation as relations among time-varying values or events, with the language or runtime managing how changes propagate to derived computations. Declaring total = price * quantity records a dependency: when price changes, the execution model knows total depends on it and arranges its re-evaluation, so the relation stays live rather than being a one-time assignment that requires manual downstream updates. Bainomugisha and colleagues identify time-varying values and automatic dependency management as the core of the paradigm, using spreadsheet formulas as an analogy. The paradigm does not prescribe a graph representation, event-stream API or scheduling strategy; push-based, pull-based and hybrid propagation are implementation choices. Nor does it guarantee glitch freedom: under push propagation a dependent can momentarily combine a new input with a stale derived input unless updates are ordered, and surveyed distributed approaches generally did not assure global glitch avoidance. The stable core is declared dependency plus managed propagation.

Scope of Application

In Excel automatic calculation mode, formula precedents and dependents are tracked, and affected formulas recalculate after an input change. Manual mode can defer the same calculation until requested. In Fran interactive animation, mouse-button events change a color behavior, and a circle image composed from that behavior updates its color. Fran's functional behavior/event formulation is a narrower case of the broad paradigm, not its universal required interface.[2][1][3]

Clarity

An event handler can react without being reactive programming: if it manually assigns each output, no declared dependent computation is maintained by the execution model. Conversely, a spreadsheet formula can illustrate the dependency pattern without looking like a stream API. The paradigm also does not promise that observers never see mixed old/new intermediate values; the original survey treats glitch avoidance as a separate comparison axis and notes limits in distributed systems.[1][2]

Manages Complexity

Instead of coordinating each downstream update manually, the programmer states dependencies and the system determines affected evaluations. Microsoft's Excel engine, for example, tracks precedents, dependents and a calculation sequence for smart recalculation. This reduces application-level bookkeeping but does not remove scheduling, dynamic-dependency, recomputation or consistency costs.[1][2]

Abstract Reasoning

Identify a changing source, a declared dependent computation and its output. Change the source and ask whether the system manages the dependency's effect rather than relying on manual assignments. Then inspect the chosen evaluation timing and observation guarantee. For Excel, automatic versus manual calculation changes when the result appears; for a distributed reactive program, a no-glitch claim needs a specific consistency argument.[1][2]

Knowledge Transfer

The same dependency/propagation core works in cell formulas and composed animation behaviors, but cell references/calculation chains and Fran events/combinators are different mechanisms. Live Programming Paradigm is the proposed strict parent because the identity organizes computational entities, composition and execution semantics. Live Functional Reactive Programming is narrower. A cross-domain change-propagation skeleton is a future-prime question, not a license to call any responsive system reactive programming.[1][3]

Relationships to Other Abstractions

Local relationship map for Reactive ProgrammingParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Reactive ProgrammingDOMAINDomain-specific abstraction: Programming Paradigm — is a kind ofProgrammingParadigmDOMAIN

Current abstraction Reactive Programming Domain-specific

Parents (1) — outgoing typed relations

  • Reactive Programming is a kind of Programming Paradigm Domain-specific

    Dependency-driven reactive composition and execution are a particular programming paradigm.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Reactive Programming sits in a sparse region of the domain-specific corpus (68th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Cognitive & Behavioral Theories (18 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Engineer Bainomugisha, Andoni Lombide Carreton, Tom Van Cutsem, Stijn Mostinckx and Wolfgang De Meuter, “A Survey on Reactive Programming”, author-hosted technical-report preprint (2012), §§1–4. registry ↩a ↩b ↩c ↩d ↩e ↩f

[2] Microsoft, “Excel performance—Improving calculation performance”, automatic/manual calculation and dependency-tracking sections. registry ↩a ↩b ↩c ↩d

[3] Conal Elliott and Paul Hudak, “Functional Reactive Animation”, ICFP (1997), author-hosted abstract; detailed circle-code evidence is in the inspected Bainomugisha survey. registry ↩a ↩b