YAGRI: You Are Gonna Read It
YAGNI (You Ain't Gonna Need It) advises against over-engineering. But the author introduces YAGRI (You Are Gonna Read It): don't just store the minimum data; store data you'll likely need later, like timestamps and metadata. This is crucial when handling user deletions. Simply deleting a database row isn't enough; log who deleted it, how, when, and why. The author suggests storing created_at, updated_at, deleted_at, created_by, and permissions used in CRUD operations on almost every table. While not every field will be used, a single field saving you from a future debugging crisis or a boss's sudden request justifies the effort. Maintaining data is a crucial engineering task.