[swift-evolution] [Proposal] Eliminating Swift's Screaming Snake Case Identifiers

Erica Sadun erica at ericasadun.com
Sat Jan 23 20:46:07 CST 2016


Pull request: https://github.com/apple/swift-evolution/pull/116 <https://github.com/apple/swift-evolution/pull/116>

-- E


> On Jan 22, 2016, at 5:40 PM, Chris Lattner <clattner at apple.com> wrote:
> 
> 
>> On Jan 22, 2016, at 1:43 PM, Jack Lawrence <jackl at apple.com <mailto:jackl at apple.com>> wrote:
>> 
>> Indeed. Here’s the grammar from TSPL:
>> 
>> line-control-statement → #line­
>>  <>line-control-statement → #line­line-number <https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Statements.html#//apple_ref/swift/grammar/line-number>­file-name <https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Statements.html#//apple_ref/swift/grammar/file-name>>  <>line-number → A decimal integer greater than zero
>>  <>file-name → static-string-literal <https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/LexicalStructure.html#//apple_ref/swift/grammar/static-string-literal> 
> Huh ok, I forgot we supported that.  We could handle that by requiring that form of #line to be at the start of a line, if necessary.
> 
> -Chris
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160123/4ade20e5/attachment.html>


More information about the swift-evolution mailing list