Spread Sheets

Every cell, c, in a spread sheet has a value. When c.value changes, cells with values that depend on c must update their values, and so on. Thus, each cell is both a publisher and a subscriber:

To see a few examples, play with the following spread sheet.

budget.xls

Also notice how multiple worksheets are views of the spread sheet which update themselves each time the spread sheet changes: