[swift-evolution] [Proposal] Eliminating Swift's Screaming Snake Case Identifiers
jordan_rose at apple.com
Fri Jan 22 15:48:45 CST 2016
It's mainly used by LLDB to make sure user-visible line numbers make sense even in the presence of textually-inserted code.
> On Jan 22, 2016, at 13:43, Jack Lawrence via swift-evolution <swift-evolution at swift.org> wrote:
> Indeed. Here’s the grammar from TSPL:
> line-control-statement → #line
> <>line-control-statement → #lineline-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>
>> On Jan 22, 2016, at 1:39 PM, Chris Lattner <clattner at apple.com <mailto:clattner at apple.com>> wrote:
>>> On Jan 22, 2016, at 12:20 PM, Jack Lawrence via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>>> `#line` already exists in the language, how will you deal with this?
>> It does?
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution