Re:My last name is correct and your DB validation is stupid
by BerislavLopac on Thursday May 16, 2013 @01:17AM
(#5717047)
No, it's not at all helpful in the sense of telling you what you should do. But what it's trying to do is kick you in the butt and make you think for yourself, advising you to discard some of the preconceived notions all of us have about a subject. If it doesn't make you do that about validating names in programming, you're in the wrong profession.
No, seriously, this is a bad link, it's got no advice, and it's not helpful.
Here's some serious advice: Put a field in your database, make it Unicode, bound it according to your DBA's advice on how much space you have to spare. A couple thousand code points should be plenty. Then give your users a single field called "Name" and have it accept up to a couple thousand Unicode points. Done.