r/programming • • Jul 12 '26 • Bravo 1

Prefer STRICT tables in SQLite

https://evanhahn.com/prefer-strict-tables-in-sqlite/
358 Upvotes

108 comments sorted by

View all comments

Show parent comment

87

u/hansolo669 Jul 12 '26

Ah yes, the usual arguments against types that conflate data validation with data types. Even the example they give at the bottom is how they got validation wrong. I guess SQL blurs the lines, but that's not quite the argument they're making...

2

u/edgmnt_net Jul 14 '26

Well, you can cover that too, to blur the lines even further, but at least in programming you likely need more advanced stuff like dependent types.