[swift-evolution] [Review] SE-0144: Allow Single Dollar Sign as a Valid Identifier
Jonathan S. Shapiro
jonathan.s.shapiro at gmail.com
Fri Oct 21 21:55:31 CDT 2016
Several people here have called out implicit closure parameters as a
concern, which is actually irrelevant to adopting '$' in parameters.
It is perfectly feasible to accept '$' in parameters *generally*, and
reject identifiers of the form
$ followed by one or more decimal digits
in defining occurrences. This is completely compatible with current Swift
practice, and logically consistent with other kinds of reserved words.
I'm not taking a position pro or con here. I'm saying that we should reject
non-impacting arguments as a basis for deciding one way or the other.
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161021/50058e36/attachment.html>
More information about the swift-evolution
mailing list