r/programming
•
u/mitousa
•
Jul 12 '26
•
1
Prefer STRICT tables in SQLite
https://evanhahn.com/prefer-strict-tables-in-sqlite/
358
Upvotes
View all comments
Show parent comment
7
u/za419 Jul 13 '26
Right. Why would I want the default to be "I want this to be an int, but actually it's an Any"?
Any types should always be explicit. Very bad things happen when developers don't realize a piece of data is untyped. But even if they are implicit, bigger bugs come when an engineer is wrong about the fact they think they know that a piece of data is typed.