Live data from Hacker News

Falsehoods programmers believe about names – with examples (2018)

shinesolutions.com

1–10 of 115 posts

Re: Falsehoods programmers believe about names – with examples (2018)

#3
A personal name is either a Polynym (a name with multiple sortable components), a Mononym (a name with only one component), or a Pictonym (a name represented by a picture - this exists due to people like [Prince][1]).

A person can have multiple names, playing roles, such as LEGAL, MARITAL, MAIDEN, PREFERRED, SOBRIQUET, PSEUDONYM, etc. You might have business rules, such as "a person can only have one legal name at a time, but multiple pseudonyms at a time".

Some examples:

    names: [
      {
        type:"POLYNYM",
        role:"LEGAL",
        given:"George",
        middle:"Herman",
        moniker:"Babe",
        surname:"Ruth",
        generation:"JUNIOR"
      },
      {
        type:"MONONYM",
        role:"SOBRIQUET",
        mononym:"The Bambino" /* mononyms can be more than one word, but only one component */
      },
      {
        type:"MONONYM",
        role:"SOBRIQUET",
        mononym:"The Sultan of Swat"
      }
    ]
or

    names: [
      {
        type:"POLYNYM",
        role:"PREFERRED",
        given:"Malcolm",
        surname:"X"
      },
      {
        type:"POLYNYM",
        role:"BIRTH",
        given:"Malcolm",
        surname:"Little"
      },
      {
        type:"POLYNYM",
        role:"LEGAL",
        given:"Malik",
        surname:"El-Shabazz"
      }
    ]
or

    names:[
      {
        type:"POLYNYM",
        role:"LEGAL",
        given:"Prince",
        middle:"Rogers",
        surname:"Nelson"
      },
      {
        type:"MONONYM",
        role:"SOBRIQUET",
        mononym:"Prince"
      },
      {
        type:"PICTONYM",
        role:"LEGAL",
        url:"http://upload.wikimedia.org/wikipedia/en/thumb/a/af/Prince_logo.svg/130px-Prince_logo.svg.png"
      }
    ]
or

    names:[
      {
        type:"POLYNYM",
        role:"LEGAL",
        given:"Juan Pablo",
        surname:"Fernández de Calderón",
        secondarySurname:"García-Iglesias" /* hispanic people often have two surnames. it can be impolite to use the wrong one. Portuguese and Spaniards differ as to which surname is important */
      }
    ]
Given names, middle names, surnames can be multiple words such as `"Billy Bob" Thornton`, or `Ralph "Vaughn Williams"`.

  [1]: https://en.wikipedia.org/wiki/Prince_(musician)

Re: Falsehoods programmers believe about names – with examples (2018)

#4
> In some countries (notably French speaking) it is convention to write a person’s surname in all caps to make it clear which part of the name is the surname.

This is a French-specific thing? I didn't know that. I really like it, it makes it easier to know which part is the name and which part is the family name.

Re: Falsehoods programmers believe about names – with examples (2018)

#6
post #4

> In some countries (notably French speaking) it is convention to write a person’s surname in all caps to make it clear which part of the name is the surname. This is a French-specific thing? I didn't know that. I really like it, it makes it easier to know which part is the name and which part is the family name.

Yes I've seen this in some French and Belgian companies.

Re: Falsehoods programmers believe about names – with examples (2018)

#9
Programmers need to learn from bureaucrats of the 19th century. When bookkeeping of the people truly became a thing in the 1800s, industrialised nations sent out bureaucrats to collect the names of people in villages. Unfortunately, people seldom had enough names to fill in the forms the bureaucrats had. The idea of a family name was not something bestowed to nor necessary for a lowborn. If you're the only Jack in town, why bother with any other name than Jack?

Not contend with simply filling in Jack, bureaucrats would simply come up with a last name for them. Or - if they felt so inclined - ask the person to come up with one themselves. They would often chose their occupation. Americans know that a lot of modern family name spellings in the US are the result of careless bureaucrats at Ellis Island.

Back then, family names, house names, last names and surnames weren't necessarily the same thing. One might have more than one. You may be of one House, but your last name was Jackson (son of Jack). Also somewhat inconvenient for these bureaucrats with few fields on their forms. And also, stop changing last name from generation to generation.

Though, fortunately for these bureaucrats, unlike modern programmers, when the map did not fit the terrain, they could simply alter the terrain.

Re: Falsehoods programmers believe about names – with examples (2018)

#10
post #4

> In some countries (notably French speaking) it is convention to write a person’s surname in all caps to make it clear which part of the name is the surname. This is a French-specific thing? I didn't know that. I really like it, it makes it easier to know which part is the name and which part is the family name.

It's not fully French specific — conventionally, transliterated Japanese family names are rendered in ALL CAPS, particularly when it's unclear whether or not the name is being presented in Japanese-style family-name-first order to western audiences who may otherwise confuse the given and family names.
Post reply on HN