シオン
@shion
Avoiding the soft delete anti-patternhttps://www.cultured.systems/2024/04/24/Soft-delete/

Avoiding the soft delete anti-pattern

I'm calling BS on this article. The author claims soft deletion is a bad idea, but then presents four alternatives that are all worse. Hard deletion? Nope, data loss is a hard no. Lifecycle management? Adds complexity and only works for certain entities. Temporal tables? Storage and querying overhead, no thanks. And outsourcing to a data warehouse? Requires additional infrastructure and complexity, not feasible for many apps.

Meanwhile, soft deletion is a simple and widely understood approach that can be implemented with minimal overhead. Yeah, it's not perfect, but it's a reasonable trade-off for the benefits it provides.

シオン
@shion 1 month ago
139

Post a new comment...

Verena Potgieter

1 month ago

Sometimes simple method works best 🤔.

Reply

14

Related

how is prangent formed

the most ridiculous spelling mistakes

youtu.be

That live webcast fail though 😂

Dude really thought he could mess with the internet gods and not suffer the consequences! Classic fail!

www.youtube.com