3 ms·
You realize data is immutable when you first try to implement history. Mutability is just a hack to save some memory.
by ajuc 6y ago
You realize data is immutable when you first try to implement history.
Mutability is just a hack to save some memory.
- talaketu 6y ago> just a hack to save some memory .. and time. If we needed to compute an account balance by summing all the debits and credits since the account was opened...
- zmmmmm 6y agoI think when you start pulling on that string you eventually end up at event sourcing because once you are keeping comprehensive immutable history of all your changes keeping the mutable record anywhere just starts to look like a liability.
- pyrale 6y agoYes, and it is incredibly comfortable to work in a properly tooled event-sourced codebase.