[swift-evolution] [Review] Replace `typealias` keyword with `associatedtype` for associated type declarations
Remy Demarest
remy.demarest at gmail.com
Wed Jan 6 15:06:23 CST 2016
> Le 06 janv. 2016 à 22:03, Paul Cantrell via swift-evolution <swift-evolution at swift.org> a écrit :
>
>
>> On Jan 6, 2016, at 2:56 PM, Loïc Lecrenier <loiclecrenier at icloud.com> wrote:
>>
>>> Perhaps keyword capitalization conventions deserve some attention across the board.
>>
>> I thought the rules were:
>> - property/method: lowerCamelCase
>> - language keyword: lowercase
>>
>> I consider
>> - dynamicType as a property
>> - didSet, willSet, deinit as methods.
>> - typealias, fallthrough as language keywords
>
> Those are all language keywords.
>
> Complete list here: https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/LexicalStructure.html#//apple_ref/doc/uid/TP40014097-CH30-ID413
>
> P
I think he was talking about how those keywords were used in the language. However, to me it just looks like post-hoc rationalization.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1402 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160106/61952084/attachment.p7s>
More information about the swift-evolution
mailing list