[swift-evolution] [Proposal] Eliminating Swift's Screaming Snake Case Identifiers
Joe Groff
jgroff at apple.com
Fri Jan 22 16:17:10 CST 2016
> On Jan 22, 2016, at 2:15 PM, Jack Lawrence <jackl at apple.com> wrote:
>
> +1 completely agreed. I would also find it interesting to explore some sort of unified syntax the existing #line and the new #line, where I could read or write to it like (completely strawman syntax):
>
> let line = #line // read
> #line = (number: 1, file: "/Users/jack/Desktop/coolswift.swift") // write
That's cute, though it would behave quite differently from other properties, since you could only assign literals, and you could do so in any context. Not necessarily a showstopper problem, just an observation.
-Joe
More information about the swift-evolution
mailing list