Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 559 Bytes

reactive-programming.md

File metadata and controls

30 lines (21 loc) · 559 Bytes

Reactive Programming

A declarative programming paradigm

in which changes in an underlying model

are automatically reflected in an associated view

(Adapted from Wikipedia)





Example: Spreadsheet Formula





Maybe-Example: Browser, HTML & CSS





Non-Example: JavaScript

var price = 2.50
var qty = 2
var total = price * qty
console.log(total) // 5

qty = 3
console.log(total) // guess...