I don't believe there's a correct answer here. Both urlHandler and URLHandler 
are bad names (for instances). Since we're stuck with camelCase, bad names are 
a fact of life.




Sent from my iPhone

> On May 19, 2016, at 11:56 AM, Pavel Kapinos via swift-evolution 
> <[email protected]> wrote:
> 
> Hi Brent,
> 
> Thank you for you encouragement! Please join in to support it **now**!
> 
> Cheers,
> Pavel.
> 
>>> On May 19, 2016, at 11:53 AM, Brent Royal-Gordon <[email protected]> 
>>> wrote:
>>> 
>>> SE-0005 "Better Translation of Objective-C APIs Into Swift Proposal” in 
>>> Proposed Solution # 6 "Lowercase values" suggests “to lowercase 
>>> non-prefixed values whenever they are imported” with an example of 
>>> URLHandler property becoming urlHandler. Being long time Cocoa developer, I 
>>> object to this particular example and would like to suggest to keep 
>>> capitalized any well known acronyms, like ASCII, PDF, URL etc. as they are 
>>> now in Cocoa. Thank you!
>> 
>> I and others fought and lost this particular battle back when the guidelines 
>> were being drafted. Just be glad you didn't end up with uppercase rules 
>> calling for things like `UrlComponents`.
>> 
>> -- 
>> Brent Royal-Gordon
>> Architechies
> 
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to