4 ms·
It's fine for now, but it makes assumptions about the future state of your database. The arguments presented in the article may or may not be applicable to you
by wyattpeak 6y ago
It's fine for now, but it makes assumptions about the future state of your database.
The arguments presented in the article may or may not be applicable to your particular application, but I think it's a solid principle that you shouldn't assume your database will retain its schema indefinitely. If you're relying on "SELECT *" to mean "SELECT A, B, C", you're in for a bad time.
- lemagedurage 6y agoMaybe you're relying on your ORM object to have all columns available, even when you add more, and you're in for a good time.
- ellisv 6y ago> but I think it's a solid principle that you shouldn't assume your database will retain its schema indefinitely. this is not a hard thing to anticipate and yet my coworkers thought otherwise...