[swift-evolution] Analysis of case conventions for initialisms

Tyler Fleming Cloutier cloutiertyler at aol.com
Sat Feb 13 18:35:50 CST 2016


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.

Tyler


> On Feb 13, 2016, at 2:10 PM, Patrick Gili via swift-evolution <swift-evolution at swift.org> wrote:
> 
> +1 for #2, as I think this is most consistent with the rest of the naming conventions.
> 
> Cheers,
> -Patrick
> 
>> On Feb 12, 2016, at 12:51 AM, Dave Abrahams via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> 
>> I just posted a write-up about various case conventions for initialisms:
>> https://gist.github.com/dabrahams/55fc5ece355da4664730.  I was surprised
>> at how it turned out, FWIW.
>> 
>> Cheers,
>> 
>> -- 
>> -Dave
>> 
>> _______________________________________________
>> swift-evolution mailing list
>> swift-evolution at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-evolution
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution



More information about the swift-evolution mailing list