News for hackers. Stuff that matters.
Re:Repairing My Tesla Model S Has Been a Nightmare by londons_explore on Wednesday March 08, 2017 @03:07PM (#13823287)
I prefer sites not to validate fields they have no need for programmatic use of.

Every validation has a few users who don't pass. Names longer than expected, people with no surname, phone numbers with an "extension" code, addresses with no house number, email addresses [email protected], etc.

Validate only what you need to to make your service work, and when you do, use an official validation library rather than baking your own.

There are no comments on this comment yet.