State, as a first level derivative
Date:
2022-05-28
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