I can see why this is needed. English has very broad words for relatives like "grandfather" or "aunt". Most languages have more specific words, especially Chinese where there are separate words for fathers or mothers side, older or younger and sibling or siblings spouse. You also often use these relation words rather than their names when referring to a relatives. If this code was in Chinese, they would all be short…
CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
141–150 of 188 posts
Re: CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
#142Earlier quoted context omitted.
Genuinely curious, but is it actually like that in most languages? I wondered if it was maybe an East/West difference, since I haven't come across that in my French & German learning, and I didn't think Dutch or Danish were like that either. But apparently Swedish does have this (eg faster/moster for paternal aunt & maternal aunt)? (Most of my learning is via Duolingo, so I'm no expert, just curious.)
Didn't even English have a bunch of words that were lost as time went by? We do have quite a few words in Lithuanian (e.g. for maternal/paternal branches and more detailed words for "X in law"). But it was getting simplified in the past few decades. I've heard quite a few words that I couldn't describe without looking at the dictionary.
Re: CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
#143Earlier quoted context omitted.
Exactly... Could it not just have been named CNContactLabelRelation表姐 ?
In case you're serious I'd have to rely on IDE completion or copy/paste to input this, not being familiar with chinese input methods. It would also make it trickier to compare identifiers and make sure that it makes sense. I think it makes more sense to keep all identifiers in English or alternatively provide completely localized versions of the API in other languages, going halfway is just going to confuse everybody…
I'm not sure it's easier with the super-large English name
Re: CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
#144Re: CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
#145Earlier quoted context omitted.
Why on earth would someone do bug fixes for free for a corporation that has cash reserves of $250 billion but is too stingy to pay for quality control?
Because otherwise thousands of developers will have to see that typo for the next ten years.
Re: CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
#146I can see why this is needed. English has very broad words for relatives like "grandfather" or "aunt". Most languages have more specific words, especially Chinese where there are separate words for fathers or mothers side, older or younger and sibling or siblings spouse. You also often use these relation words rather than their names when referring to a relatives. If this code was in Chinese, they would all be short…
Is there a notion in linguistics of languages being more "modular", i.e. tacking on details like this through additional words, versus having more and more specific words to cover these cases? Coming from my native German, I am very much used to the former, so I always find it interesting to see how different other languages are structured sometimes.
Re: CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
#147Why is everyone assuming this is about Chinese??? CN is the class prefix for the Contacts.framework library, like every other Apple API. For example: CoreLocation: CL (CLLocation) SpriteKit: SK (SKScene) CloudKit: CK (CKRecord) CoreVideo: CV (CVBuffer) LocalAuthentication: LA (LAContext) So on and so forth...
Because the Chinese kinship system has a specific term for the relationship described by this constant.
Re: CNLabelContactRelation​YoungerCousin​MothersSiblingsDaughter​OrFathersSistersDaughter
#148Why is everyone assuming this is about Chinese??? CN is the class prefix for the Contacts.framework library, like every other Apple API. For example: CoreLocation: CL (CLLocation) SpriteKit: SK (SKScene) CloudKit: CK (CKRecord) CoreVideo: CV (CVBuffer) LocalAuthentication: LA (LAContext) So on and so forth...
(I know nothing about Chinese. Just reporting what's been said elsewhere.)