4 ms·
> That’s why we have protective measures like soft deleting and event sourcing IMO soft deletion is a hack trying to fix problems in CRUD, which is a hack in
by nivertech 4y ago
> That’s why we have protective measures like soft deleting and event sourcing
IMO soft deletion is a hack trying to fix problems in CRUD, which is a hack in itself.
CRUD attempts to model everything in the universe as a collections of mutable items, loosely based on RDBMS/SQL.
Event Sourcing is more realistic: it models everything as a append-only logs of immutable events/facts, which preserves both the historical data and, more importantly, the original intent.
Unlike CRUD, Event Sourcing is technology agnostic.