35 ms·
If you're throwing everything the customer have input then you have a poor written application. Not inserting bad data is much better than trying to make sense
by marcos100 5y ago
If you're throwing everything the customer have input then you have a poor written application.
Not inserting bad data is much better than trying to make sense of inconsistent data because you don't know what is true or not.
- lmm 5y agoValidating consumer input is good. Throwing it on the floor when it fails validation is bad. You want to separate "accept the consumer's input" from "validate it", which is something that's very hard to do in RDBMSes.