[swift-evolution] Proposal to remove semicolons
Charles Constant
charles at charlesism.com
Mon Dec 14 15:21:19 CST 2015
> semicolon within a line is a expressivity feature.
I don't care if they're invalid as a terminator for lines with *single*
statements. It would feel annoyingly restrictive to program in a language
where you can never use two statements on the same line. Even Python allows
that!
On Mon, Dec 14, 2015 at 12:57 PM, Sune Foldager via swift-evolution <
swift-evolution at swift.org> wrote:
>
> *From: *Chris Lattner <clattner at apple.com>
> *Subject: **Re: [swift-evolution] Proposal to remove semicolons*
> *Date: *14 December 2015 at 20:01:00 GMT+1
> *To: *Colin Cornaby <colin.cornaby at mac.com>
> *Cc: *swift-evolution at swift.org, joao3001 at hotmail.com
>
> There are two different topics here, and I’d suggest exploring them
> separately.
>
> - The semicolon within a line is a expressivity feature.
>
>
> Yes, and it’s also useful for shell one-liners like "swift <(echo ‘some;
> swift; statements’)” (is there an option I’m missing to avoid the shell
> trick?). I am against removing them.
>
> -Sune
>
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151214/e4f70c13/attachment.html>
More information about the swift-evolution
mailing list