|
|
|
|
|
by learc83
4789 days ago
|
|
What is the solution to this? Names don't always follow first middle last. What about people who have 7 names? What about people who only have 1? Data needs some kind of structure to be useful. I'm about to start a new project, I'm thinking of two fields "Legal Name" and "What should we call you?", both with special characters allowed. But then you can't search by last name, and I think a lot of our users would be confused if names were in order lexicographically by first name. |
|
For a bootstrap proof-of-concept project, I might expect names to be a pair of strings with no spaces in them. This'd cover (at a guess), 95-98% of US users.
For a startup, I might expect two strings, one of which can be blank, each of which contains 0-50 unicode characters. This at least adequately support (at a guess) 99-99.99%
For a government organization, maybe a single string, 1k unicode characters, and a way to snail-mail in a different name if yours doesn't fit that definition? That might be a bit extreme for a local government, but something like the IRS, where you have no choice but to use their service, has to push the limits of permissiveness.