[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:50:57 CDT 2016


On Tue, Oct 18, 2016 at 7:20 AM, Jay Abbott via swift-evolution <
swift-evolution at swift.org> wrote:

> It's s symbol. Here are some others:
> ! & * ( . -
>
> You wouldn't want to allow an identifier to start with any of those
> symbols, for obvious reasons.
>

That's an assertion. Can you substantiate?

Because I can think of a whole bunch of reasons for identifiers to start
with those, several languages in which they actually *do* start with those,
and significant benefit that accrues in those languages from admitting
these identifiers...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161021/db243212/attachment.html>


More information about the swift-evolution mailing list