Programmers misconceptions about names - with examples

Programmers misconceptions about names - with examples 3r37474.  
3r37474.  
In 201? Patrick Mackenzie wrote the famous article 3r33427. “Programmers misconceptions about names” 3-33477. by listing 40 factoids that are not always true with respect to human names. 3r37474.  
3r37474.  
Do you think the programmers sat down, thought and changed the processing of names in computer systems? Unfortunately, not really. We are still universally asked to fill out online forms that require the presence of a first and last name (and in that order). These systems still assume that our names can always be written in alphabetic characters, often only ASCII. 3r37474.  
project. Global Name Management I can assure you that everything said in it is true. 3r37474.  
3r37474.  
Do not believe? In this article, I will list all 40 misconceptions, giving an example (or two) of my experience in this field. Ready? Go! 3r37474.  
3r37474.  
3r3155. 1. Each person has one canonical full name. 3r31616. 3r37474.  
It seems some people believe that you get a name, and it never changes. But even in Western countries, a person can change his last name when entering into marriage. In the Catholic tradition, a person can get a second name when confirming. 3r37474.  
3r37474.  
3r3155. 2. Each person has one full name that he uses. 3r31616. 3r37474.  
The well-known science fiction writer John Wyndham (author of The Day of the Triffids) was born with the name John Wyndham Parks Lucas Beynon Harris, and he published books under the names John Beynon and Lucas Parks, as well as John Wyndham. 3r37474.  
3r37474.  
3r3155. 3. At this point in time, each person has one canonical full name. 3r31616. 3r37474.  
An actor may have a stage pseudonym completely different from the name on the birth certificate, he may even have a passport to the stage pseudonym. 3r37474.  
3r37474.  
3r3155. 4. At this point in time, each person has one full name that he uses. 3r31616. 3r37474.  
This is not the case, even in Western countries, a woman can keep her maiden name at work (where she is already known by that name) and use her husband's name in communication or in legal documents such as mortgages and loans. 3r37474.  
3r37474.  
3r3155. 5. Every person has exactly N names, regardless of the value of N. [/b] 3r37474.  
An English name traditionally contains two names (they are often called a name and a second name) and a surname, but not necessarily all that. A person may not have a second name or there may be several. For example, the Portuguese have one or two first names and up to four last names (up to six in the case of a married woman), and these last names can be phrases such as da Silva or dos Santos, or even Costa i Silva. 3r37474.  
3r37474.  
3r3155. 6. Names fit in a certain number of characters. 3r31616. 3r37474.  
In the famous artist, who is usually called just Picasso, the full name was Pablo Diego José Francisco de Paula Juan Nepomuceno Maria de los Remedios Cipriano de la Santísima Trinidad Martir Patricio Ruiz and Picasso. Try to fit it into a form of 30 characters
 
3r37474.  
3r3155. 7. Names do not change. 3r31616. 3r37474.  
We have already mentioned girls who change their name when they marry, so this is clearly wrong. In addition, Catholics can take a second name at the time of confirmation. Also, a person often adds a name or completely changes it when converting to another religion - remember how, after conversion to Islam, Kat Stevens became Yusuf Islam, and Cassius Clay turned into Mohammed Ali. 3r37474.  
3r37474.  
3r3155. 8. Names change, but only in certain limited cases. 3r31616. 3r37474.  
For some Thais, the usual thing is to change the name to ward off bad luck. This can happen without a special reason. Sometimes a person changes a name when someone else with the same name becomes famous or notorious: a remarkable example when a lot of people refused the name Hitler. 3r37474.  
3r37474.  
3r3155. 9. Names recorded in ASCII. 3r31616. 3r37474.  
Explicit delusion, if only because ASCII does not contain accented characters from French, Portuguese names. This character set does not include the Greek alphabet used in Greek names, Cyrillic characters for Russian names. There are scripts like Devanagari for Indian names, Chinese characters (hanzi), Japanese characters (kanji), and much more. 3r37474.  
3r37474.  
3r3155. 10. Names are written in any one encoding. 3r31616. 3r37474.  
Some names have mixed encodings. For example, Kanji with Latin characters or Hanzi with Latin characters, or Korean Hangul with Latin characters. In many cases, this happens because a person has a “Western name” in favor of those who cannot pronounce his name in his native language. 3r37474.  
3r37474.  
3r3155. 11. All names correspond to Unicode code points. 3r31616. 3r37474.  
Unicode developers continue to add code points to more and more rare characters to the standard. The vast majority of names already correspond to them, but there are still exceptions, such as the symbol "The actor, formerly known as Prince" . Even if you exclude such oddities, several scripts have not yet entered Unicode. Perhaps the most realistic example is Aymara, writing for a language spoken by more than a million people in South America. Less realistic examples are the Klingon language or symbols invented by Tolkien for Middle-earth. In addition, Unicode includes only a portion of the Chinese and Japanese characters, and some of the missing characters are used in the names. 3r37474.  
3r37474.  
To further complicate the situation, in some languages ​​there are no written characters - they cannot be written down. And for such languages ​​there are no code points in Unicode. Names in these languages ​​can be written phonetically, but this is not particularly useful because most people are not familiar with the phonetic alphabet. 3r37474.  
3r37474.  
3r3155. 12. Names are case sensitive. 3r31616. 3r37474.  
Many character sets are not case sensitive: for example, Chinese and Japanese. For them, the idea of ​​uppercase and lowercase letters is simply not applicable. 3r37474.  
3r37474.  
3r3155. 13. Names are not sensitive to case change. 3r31616. 3r37474.  
Some scripts are case sensitive: for example, Latin. More importantly, in some languages, characters can be written in lower case, but not in upper case, so it is impossible to translate them from one register to another. 3r37474.  
3r37474.  
The correct register can be very important for some people, such as carriers of the names Mackenzie and Mackenzie. 3r37474.  
3r37474.  
In addition, the correct register is important for names such as Van Gogh, du Barry, da Costa, O'Brien and D'Agostino, and names such as Jean-Pierre. 3r37474.  
3r37474.  
3r3155. 14. Sometimes there are prefixes or suffixes in names, but you can safely ignore them. 3r31616. 3r37474.  
Nothing could be further from the truth. The Dutch name Peter van der Meer is not the same as Peter Meer, although van der is a prefix. 3r37474.  
3r37474.  
You can think of the “junior” as a suffix in the name of Robert Downey Jr., but if you omit it, you will call his father, not him. 3r37474.  
3r37474.  
In Arabic names, the suffix al-Din means "faith" or "religion" - such names as Taj al-Din ("crown of faith") or Saif al-Din ("sword of religion") will not remain the same if you let the suffix. The Italian name Di Stefano is not the same as Stefano. 3r37474.  
3r37474.  
The Spanish woman with the surname "Víuda de de la Cruz" is the widow of a man with patronymic de la Cruz. Missing prefixes changes the meaning of the name. 3r37474.  
3r37474.  
3r3155. 15. Names do not contain numbers. 3r31616. 3r37474.  
Even if you ignore the dynasties (for example, Turston Howell III), in some cases the number becomes part of someone's legal name. For example, 3r3173. Jennifer 8 Lee
chose the middle name ? because 8 is associated with luck. 3r37474.  
3r37474.  
3r3155. 16. Names cannot be written in CAPITAL letters. 3r31616. 3r37474.  
In some countries (especially francophone) it is customary to write the person’s last name in capital letters so that it is clear which part is the last name. This convention is entrenched to such an extent that the spelling of the family name in lower case can be considered impolite. 3r37474.  
3r37474.  
3r3155. 17. Names cannot be written in lowercase letters. 3r31616. 3r37474.  
Poet e. e. Cummings preferred to have his name written in lower case letters. Like the singer k.d. lang . Politely follow the spelling that the owner of the name prefers. 3r37474.  
3r37474.  
There is an Irish /British surname 3r3-3199. French
which is traditionally written in lower case letters, although this tradition suffers from bad software, which forces one to indicate the first capital one. 3r37474.  
3r37474.  
3r3155. 18. There is order in names. The choice of one of their recording ordering schemes will automatically lead to a constant order among all systems if they all use the same ordering scheme. 3r31616. 3r37474.  
In the Netherlands, the name of Vincent Van Gogh will be indexed and sorted by letter G as Gog; in Belgium, the same name will be indexed B for Van Gogh. It is impossible to accept a single name system, which will lead to the generally accepted order. In many libraries, the system is based on the place of birth of a person (I would not want such a rule applied in software). 3r37474.  
3r37474.  
3r3155. 19. Name and surname necessarily different. 3r31616. 3r37474.  
Australian businessman and politician Benjamin Benjamin died in 1905. Jerome K. Jerome is an English writer known for his work “Three in a Boat, Not counting Dogs”. Owen Owen is a Welshman who founded Owen Owen Ltd, a company that manages a network of department stores. And we will not even touch athletes and actors who have adopted such pseudonyms. 3r37474.  
3r37474.  
3r3155. 20. People have a surname or something similar, common to relatives. 3r31616. 3r37474.  
In Java, it was customary to give a person only a name without a surname. For example, the presidents of Indonesia Suharto and Sukarno did not have a surname. 3r37474.  
3r37474.  
3r3155. 21. The name of the person is unique. 3r31616. 3r37474.  
Say it to anyone named John Smith! I have a slightly less common name, but I found a person with the same name and surname working in the same industry in the same country (Australia). 3r37474.  
3r37474.  
3r3155. 22. The name of the person almost is unique. 3r31616. 3r37474.  
Even taking into account non-standard spelling, it is usually easy to find people with the same full name: try to google your own. 3r37474.  
3r37474.  
3r3155. 23. Okay, okay, but the names are quite rare, so there are no million people with the same name and last name. 3r31616. 3r37474.  
The Chinese name Zhang Wei is reportedly carried by more than a quarter of a million people. 3r37474.  
3r37474.  
If we restrict ourselves to surnames, then about 20% of the population of South Korea have the surname Kim. About 10% of the population of North China is Wang, and more than 10% of the population of South China is Chen. In second place, and there, and there is the surname Lee, which makes her most popular in the country. And about 40% of Vietnamese bear the name Nguyen. 3r37474.  
3r37474.  
Names are also far from unique. 3r37474.  
3r37474.  
3r3155. 24. My system will never deal with names from China. 3r31616. 3r37474.  
Migration distributed the names of each culture to (almost) every country. Almost gone are the days when new names were given to immigrants when entering the country (although, for example, Vietnam still requires the applicant for citizenship to adopt a Vietnamese name). It is unrealistic to expect a complete absence of names from other countries, although you can see them in transliterated form. 3r37474.  
3r37474.  
So, a Chinese name like Your system may appear as Chow Yun-Fat, or Chow Yun Fat, or even Yun Fat Chow (Chow is the last name). 3r37474.  
3r37474.  
3r3155. 25. Or Japan. 3r31616. 3r37474.  
see above. 3r37474.  
3r37474.  
3r3155. 26. Or Korea. 3r31616. 3r37474.  
see above. 3r37474.  
3r37474.  
3r3155. 27. Or Ireland, Great Britain, the USA, Spain, Mexico, Brazil, Peru, Sweden, Botswana, South Africa, Trinidad, Haiti, France, the Klingon Empire — all of these use “weird” schemes for names. 3r31616. 3r37474.  
see above. 3r37474.  
3r37474.  
3r3155. 28. The Klingon Empire was a joke, right? 3r31616. 3r37474.  
It is hard to find examples of people officially using Klingon names, but why not? If we implement a system with support for other cultures (for example, a built-in apostrophe for O'Brien), then we will be able to support Klingon names without additional work. 3r37474.  
3r37474.  
3r3155. 29. To hell with cultural relativism! People in 3r33415. 3r33333. my society [/i] 3r31616. at least they have the same understanding of the generally accepted standard for names. 3r31616. 3r37474.  
Will your software work only with people who have received names in your community? 3r37474.  
3r37474.  
3r3155. 30. There is an algorithm that converts names to one and the other without loss. (Yes, yes, you can do it, if the algorithm at the output returns the same as at the entrance, take yourself a medal). 3r31616. 3r37474.  
There is no algorithm (other than memorizing the original format) that converts the name in a guaranteed reversible way. 3r37474.  
3r37474.  
3r3155. 31. I can confidently assume that this dictionary of obscene words does not contain surnames. 3r31616. 3r37474.  
This is a common mistake: many “bad words” are not bad in other languages, and some are used in names. In addition, not every society restricts which words can be used in a name: it is quite possible that someone’s name has been assigned in such a jurisdiction. 3r37474.  
3r37474.  
3r3155. 32. Names are given to people at birth. 3r31616. 3r37474.  
Births are registered in most countries, but the effectiveness of this system is not the same. 3r37474.  
3r37474.  
Exact rules vary by jurisdiction, but some delay in birth registration is always allowed. The allowable delay varies from three weeks (Scotland) to two months (Australia), but there are more. 3r37474.  
3r37474.  
The baby’s name may be recorded at the time of birth registration, but it’s not always happens (in some places children are still registered with names like Baby Boy or Baby Girl, when parents have problems with choosing a name or if the child is a foundling, for example). 3r37474.  
3r37474.  
3r3155. 33. OK, maybe not at birth, but rather soon after it. 3r31616. 3r37474.  
3r37474.  
3r3155. 34. Okay, okay, for a year or so. 3r31616. 3r37474.  
3r37474.  
3r3155. 35. Five years? 3r31616. 3r37474.  
3r37474.  
3r3155. 36. You're kidding, right? 3r31616. 3r37474.  
There are cultures in which the adult name is not given to a person until puberty. Before that, the child may have a “milk” or temporary name. 3r37474.  
3r37474.  
3r3155. 37. Two different systems in which the name of the same person is indicated will use the same name for it. 3r31616. 3r37474.  
If this were so, then there would not be a software market for reconciling different databases. 3r37474.  
3r37474.  
In my personal case, some systems contained my official name, including the second name, and others only the name and surname or an abbreviated name and surname. And this is another simple case. My wife in some systems is listed by maiden name, and in others with her husband's name, with or without a full name, with or without a second name, and with either of the two spellings of her short name. 3r37474.  
3r37474.  
3r3155. 38. Two different data entry operators, if they are given the name of a person, will necessarily enter the same character set, if the system is well designed. 3r31616. 3r37474.  
Imagine what happens when a person enters a name that he hears on the phone. For example, Thomson and Thompson; or Johnson, Johnston, Johnstone and Jonsson. 3r37474.  
3r37474.  
3r3155. 39. People whose names break my system are strange aliens. They should have normal, acceptable names, like 田中 太郎. 3r31616. 3r37474.  
No, your system is poorly designed. 3r37474.  
3r37474.  
In particular, the aforementioned name is often found as the name of a foreigner in the anime (and manga). There were real people with that name. 3r37474.  
3r37474.  
3r3155. 40. People have names. 3r31616. 3r37474.  
For this case, it is perhaps most difficult to cite convincing examples. There was an isolated culture in which no one had any names: they called each other relative terms, such as "my mother's older sister." 3r37474.  
3r37474.  
3r33434. Let's summarize
3r37474.  
So we did this: we found examples (almost) for all forty points from the Patrick Mackenzie article “Programmers misconceptions about names” 3-33477. . If you feel some oversupply of information, then let's summarize. Here is the most important thing when developing a system that processes names:
 
3r37474.  
 
Do not use terms such as “first name” or “Christian name”: simply “given name” (given name) is the most common term. 3r33471.  
Keep in mind that half the world first indicates the last name. 3r33471.  
In many cultures, a different system is used than a single last name, common to all family members. Some use patronim or matronim (sometimes not one); others have no family name at all. 3r33471.  
Punctuation can be a vital part of a name: the Irish last name O'Hara does not match the Japanese last name Ohara. The name Jean-Pierre does not coincide with the name Jean-Pierre, nor with the name Jean Pierre, and Jean-Pierre is one name, and Jean Pierre is two separate names. 3r33471.  
Spaces do not necessarily separate parts of the name and surname: de la Cruz is one surname, not three separate ones; Chinese names in Hanzi are written without spaces between the name and the surname. 3r33471.  
The use of capital letters is not so obvious: the surname van der Meer can be written with a capital letter when used without a name, but with a lowercase after the name. 3r33471.  
Use the entire name instead of breaking it apart. For example, do not try to refer to a person as “Mr. last-word-in-name”: there may be mistakes in different cases: 3r37474.  
 
If the last name is written before the first name (for example, Chinese). 3r33471.  
If you use patronyms correctly, but he is not the last. 3r33471.  
If the last name consists of more than one word, for example, the Spanish last name is de la Torre
 
If the name contains a suffix, for example, "younger". 3r33471.  
3r33471.  
3r37474.  
Finally, I strongly recommend that you read the small naming guide in r3r3476. Article from W3C
.
+ 0 -

Add comment