[swift-evolution] SE-0005 ==> Please keep well know acronyms capitalized!
kvasa at icloud.com
Thu May 19 13:07:29 CDT 2016
I don't remember the exact paper I read, but e.g. on Wikipedia - https://en.wikipedia.org/wiki/Word_recognition - but googling for "reading by shapes" etc. turns out a lot of various articles.
But I see it myself - urlHandler - I immediately see Handler, but have to read into it letter by letter to see the "url". When it's URLHandler, I see immediately both.
If you see it in urlHandler, you might be used to it - you of course can learn new words/word combinations.
> On May 19, 2016, at 7:31 PM, Brandon Knope via swift-evolution <swift-evolution at swift.org> wrote:
> Do you have a source for this? While I bet there is research showing that acronyms on their own are easier to read in all caps, does it talk about when it is joined with other words such as urlHandler?
> And like I said, just because ObjC devs are used to it is probably not a good enough rationale to overturn an accepted proposal.
> Sent from my iPad
>> On May 19, 2016, at 1:17 PM, Krystof Vasa <kvasa at icloud.com> wrote:
>> Aside from ObjC developers being used to this, psychology of reading tells us that people read by shapes of the words - they are used to seeing abbreviations in capital letters - from this point, it's better readable.
>>> On May 19, 2016, at 7:14 PM, Brandon Knope via swift-evolution <swift-evolution at swift.org> wrote:
>>> Do you have a particular reason? I don't think because it is a certain way in Objective-C means it must be that same way in Swift.
>>> Sent from my iPad
>>>> On May 19, 2016, at 1:04 PM, Pavel Kapinos via swift-evolution <swift-evolution at swift.org> 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!
>>>> swift-evolution mailing list
>>>> swift-evolution at swift.org
>>> swift-evolution mailing list
>>> swift-evolution at swift.org
> swift-evolution mailing list
> swift-evolution at swift.org
More information about the swift-evolution