Re:Falsehoods Programmers Believe About Names (2010)
by dagw on Thursday September 08, 2016 @04:24AM
(#12451192)
Tangentially, I'm always slightly uncertain about what to put when asked about my "first name" on official forms. While I have a first name it is not and has never been the name anybody has used for me. I've always gone by my second name, and if you where to ask for me by my first name no one would know whom you are talking about.
Basically do you want the the string returned by name.split()[0] or do you want the string which is the most commonly used identifier for me?
Re:Falsehoods Programmers Believe About Names (2010)
by vidarh on Thursday September 08, 2016 @04:44AM
(#12451276)
I'd say you want to be consistent within the same context. Otherwise it's their own fault if they can't ask you for something more specific.
E.g. if they want a display name, they should ask for a display name. Most of the time people need only a few different roles, and you can always pre-populate default values based on doing a simple name split and letting people suggest more approriate alternatives.
Upside is that asking for specifically what they need addresses other concerns, such as e.g. parents signing up to something on behalf of their children, or someone needing to put another name of a shipping label.
Re:Falsehoods Programmers Believe About Names (2010)
by aninhumer on Thursday September 08, 2016 @04:41AM
(#12451264)
In most official cases, what you they mostly want is the string which matches the one in other official documents about you. They will often also use it in communications, but having a separate field for chosen name would probably be more hassle than it's worth.
She suffered quite a bit, any call to a government agency, especially FASFA student loans (btw fuck you FASFA, fuck you), would often end up in tears after hours of pleading to them she was a real person, or explaining "just freaking search me this way, it's how they did it the last time I spent 2 hours on the phone with you). The only benefit is that having only one name makes it rather difficult to google/facebook stalk you.
tl;dr: Not everybody has a name like yours. Don't use "first name", "last name" for somebody's name. Just give it a 512-byte or larger UTF8 field, and move on.