News for hackers. Stuff that matters.
Re: by lmm on Wednesday April 01, 2026 @12:12AM (#47596729)
"Show me your code and conceal your data structures, and I shall continue to be mystified. Show me your data structures, and I won't usually need your code; it'll be obvious."

Lots of people try to make their code better by revising their procedures and don't even think about changing their data model, and generally fail. You might not be able to change your data model without changing your code, but they're different activities.

Re: by theshrike79 on Wednesday April 01, 2026 @10:07AM (#47601101)
Or not using the data model properly, zero foreign keys in databases, no triggers checking column contents etc.

"We'll do it on the app level".

sigh

Re: by lmm on Thursday April 02, 2026 @08:17PM (#47621915)
No, that part is just smart. Databases have terrible support for nontrivial datastructures, doing everything at the app level is the only reasonable response.