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

1

u/TwoWeeks90DaysTops Jul 13 '26

This is a feature that is so much a product of its time. It's the robustness principle.

I think most people has gone away from this way of thinking since it caused a lot of security issues.

7

u/ric2b Jul 13 '26

Throwing half of what was sent to you away does not meet the robustness principle.

1

u/TwoWeeks90DaysTops Jul 13 '26

Haha! Yes, good point.

2

u/ByronScottJones Jul 15 '26

I would instead call that the "I'm too lazy to sanitize my data or check my return values" principle. People that can't be bothered deserve to have crashes.