[swift-evolution] Analysis of case conventions for initialisms

Dave Abrahams dabrahams at apple.com
Sun Feb 14 14:53:19 CST 2016


on Sun Feb 14 2016, Tyler Fleming Cloutier <swift-evolution at swift.org> wrote:

>> On Feb 14, 2016, at 8:33 AM, Dave Abrahams via swift-evolution
>> <swift-evolution at swift.org> wrote:
>> 
>> 
>> on Sat Feb 13 2016, Tyler Fleming Cloutier
>
>> <swift-evolution at swift.org> wrote:
>> 
>>> I don’t care what the heck it is as long as someone tells me whether
>>> to use userID or userId. I’ve spent too many hours obsessing over this
>>> and I still keep going back and forth. What is ID anyway? It seems
>>> like it’s both an initialism and an acronym.
>>> 
>>> I think I lean towards #2 for a simple reason: the rules are the same
>>> for initialisms, acronyms, abbreviations, words, or what have you. I
>>> just want whatever guidelines are going to allow me to pick a casing
>>> and move on with my life as soon as possible. The guideline with the
>>> fewest rules is going to be the best at that.
>> 
>> FYI,
>> http://news.gmane.org/find-root.php?message_id=m2twld4iax.fsf%40eno.apple.com
>> <http://news.gmane.org/find-root.php?message_id=m2twld4iax.fsf@eno.apple.com>
>
> Ah, thanks! 
>
> So that would be userID then, since ID is pronounced “eye-dee”, right?
> If it were pronounced “id” it would be userId, correct? I’m going to
> be so excited to put this one to bed.

Yup, though I'm not sure we're ready to prescribe that NASA be spelled
as Nasa (I'll ask), so you might want to leave pronunciation out of the
way you think about it.

-- 
-Dave



More information about the swift-evolution mailing list