[swift-evolution] [Review] Replace `typealias` keyword with `associatedtype` for associated type declarations
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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1402 bytes
Desc: not available
More information about the swift-evolution