ryanwold.net

A civic-minded citizen seeking the singularity

An entry

State, as a first level derivative

Date: 2022-05-28
Status: release
Tags: cqrs event sourcing video

Greg Young, in this talk mentions

State, as a first-level derivative


In his example, he asks whether a bank account balance is simply a number in a database column, or is it a total of all transactions since an account's creation.


Balance becomes function that that takes the transactions and returns a deterministic result