3 ms·
Back in the day, we were taught to use database constraints to validate user inputs. Memory, storage and compute were also more limited, so there was an extra
by jstarfish 6y ago
Back in the day, we were taught to use database constraints to validate user inputs.
Memory, storage and compute were also more limited, so there was an extra cost to over-spec.
- postalrat 6y agoIsn't this still the best practice? I do it to prevent the possibility of invalid data.