News for hackers. Stuff that matters.
Re:The database ruins all good ideas by justinclift on Sunday July 18, 2021 @12:37PM (#27874298)
> Well if you can't get input that violates that integrity then what are you gaining by enforcing that integrity?

Perhaps I'm wording this badly?

Your application should _not_ be generating data which can't go into the database correctly. If it is, that's a different set of problems. ;)

Re:The database ruins all good ideas by lmm on Sunday July 18, 2021 @09:00PM (#27878174)
What are you claiming the purpose of integrity constraints in the database is? If your application doesn't generate data which can't go in the database correctly, what's the observable difference between a database that enforces constraints and a database that doesn't?
Re:The database ruins all good ideas by CRConrad on Wednesday July 21, 2021 @12:31AM (#27902358)
The difference is that one of them informs you when you've failed at generating valid data to save, and the other doesn't.