4 ms·
Almost all problems with name handling come from two assumptions: 1. Names are identifiers. 2. Names can be used to correlate the same person between two sys
by efitz 2y ago
Almost all problems with name handling come from two assumptions:
1. Names are identifiers.
2. Names can be used to correlate the same person between two systems.
These assumptions are not universally correct, and so programmers and designers and product managers try to restrict names in order to minimize edge cases and maximize the cases in which their assumptions hold.
And these same folks make the same mistakes about names of things as they do about names of people. If a human provides the name, then you are taking on a huge pile of problems using the name as an identifier. Take DNS domain names or AWS S3 bucket names or NetBIOS names in Windows networks or (pick your favorite flat namespace ).
The solution?
Always use system-assigned (preferably random) identifiers for things that need identification. Think UUIDs. Make the name a descriptive text property of the person/thing that they can change at any time. Consider not having names for humans, but rather just asking the user for the strings that you would like to use in certain places, eg:
“When we validate your provided credit card, what is the name that the bank expects?”
“What should we put in the ‘name’ spot on packages or letters that we send to you?”
“To make this app more friendly, we would like to address you by name. If that is ok, type the name that you would like us to use in this situation:”
[ Foo ]
Here’s what it will look like:
Hello, Foo
(No thanks) (OK)
Etc etc.
- NeoTar 2y agoI mostly agree, just one needs to be careful, especially when dealing with people whose first language may not be English, when asking these more complicated questions since they may be misunderstood. I like the final example a lot.
- elric 2y agoCouldn't agree more. In fact, I've ranted about this before [1]. Names can change, names can be as short as zero or one characters, or ridiculously long. Applying ones own cultural assumptions to what makes a valid name is not a good idea. [1] https://blog.melnib.one/2021/06/23/on-names/ https://blog.melnib.one/2021/06/23/on-names/
- aardshark 2y agoAs short as zero characters? Not the full name, surely.
- buildsjets 2y agoWhat if one's name is represented by a non-printable character or logo? Perhaps your form provides a way to upload a glyph, or you need to enable name submittal via floppy disk. https://web.archive.org/web/20181113135727/http://nymag.com/intelligencer/2016/04/princes-legendary-floppy-disk-symbol-font.html https://web.archive.org/web/20181113135727/http://nymag.com/...
- justsomehnguy 2y agoSome peoples use only 1 identifier as a full name. Some peoples use 3 identifiers as a full name but there are peoples with only 2 living with them.