Algorithms
Computed Status, Not Stored: Deriving the Lifecycle of Scheduled Things
Should a survey be "completed" or "expired"? Store the flag and it lies between updates; compute it on read and it is always true. A design for lifecycle derivation, assignee coverage, and the short-circuits that keep it fast.
5 min read