Avoiding the soft delete anti-pattern
24 Apr 2024Programmers hate deleting things; we’ve all felt that feeling in the pit our stomach when we realise
that thing we deleted was really deleted, and on the other hand the security of deleting some
unused code, safe in the knowledge that it’s still really there in version control. In the sphere of
databases, this terror of deleting things leads people to advocate soft deletion: instead of
really deleting a record, you add a field which marks the record as deleted, and you treat any
recor...
Read more at cultured.systems