8 ms·
One more to add to Falsehoods Programmers Believe About Names (http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ http://www.kalzum
by jameshart 12y ago
One more to add to Falsehoods Programmers Believe About Names (http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...): Real names don't contain combinations of normal words like 'creeping bear' or 'lone hill'...
- tracker1 12y agoThe only rules I've ever entered regarding real names... is at least two characters, though I tend not to allow numbers, but /([a-z][a-z' -]{,48}[a-z])/i generally speaking... even then, I had to bump that up from 25 characters once.
- mercurial 12y agoCan't Chinese last name consist of a single Hanzi character?
- saraid216 12y agoWhich is honestly still pretty restrictive. I can immediately think of two cases you'd be throwing out erroneously.
- eru 12y agoPeople have names outside of [a-z]. (Me, for example.)
- lucaspiller 12y agoI was just about to say this too... Even in Europe it's common to use accents or diacritics: http://www.kidspot.com.au/chloe-renee-andre-need-apply-accents-baby-names-arent-allowed/ http://www.kidspot.com.au/chloe-renee-andre-need-apply-accen...
- vidarh 12y agoNot just accents or diacritics, but different characters. E.g. Æ, Ø, Å in Scandinavia. And we of course don't use just latin character sets in Europe (Greek and Cyrillic scripts are both even official scripts of the European Union), even excluding immigrants.
- pkaye 12y agoI know someone who has a last name "I". His first name starts with H so his work email address was hi@company.com.
- caf 12y agoYou've never met a Zoë?
- deleted 12y ago[deleted]
- voyou 12y agoA real name that breaks both your rules: https://en.wikipedia.org/wiki/Perri_6 https://en.wikipedia.org/wiki/Perri_6
- meric 12y agoOr clauses, "Parmelee Kills The Enemy".
- jasonjei 12y agoThis is a fantastic write-up. Would like to add that some South Asians also do not have last names (that would totally break US systems--wonder what those guys do if they take up American citizenship, like get a last name? Form-generated letters, Dear Mr. <<null>>:)
- rodgerd 12y agoFor a brief period some dumb project had decided no New Zealanders could have a passport if they had a two letter surname. Given one of the more notable sports stars of the last few years is Lydia Ko I'm surprised that made it into production.
- brazzy 12y agoAnd Indonesian I once knew said that she had that problem in many places and usually split up her name, which was convenient because the first half happened to be "Susan".
- lmm 12y agoMany Asians make up (or transideolate) a westernised name and use that name in English-speaking countries.
- maaarghk 12y agoGod, I know. Try explaining this to SagePay, whose API requires you provide a firstname and surname. This also falls down if the account belongs to a business. Businesses also do not have first names and surnames.