3 ms·
> What's the "right" way to store person names? Store both a unified name field and separated given name / surname fields and let the user manage both. Yeah,
by yellowapple 4y ago
> What's the "right" way to store person names?
Store both a unified name field and separated given name / surname fields and let the user manage both. Yeah, this risks going out of sync, but that's the user's problem, not yours. Yeah, three fields are technically more complex than one or two, but it produces less complexity down the line.
- fragmede 4y agoSo what happens when someone doesn’t have a surname? Falsehoods programmers believe about name: https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...
- CRConrad 4y ago> So what happens when someone doesn’t have a surname? Then they leave that field empty.