[swift-evolution] Proposal to remove semicolons
marc at knaup.koeln
Mon Dec 14 11:20:17 CST 2015
You should link to the proposal you've written.
The only instances of semicolons at the end of the line I had in my code in
the last months were placed there by mistake or when converting code from
First thing I do when migrating ObjC code to Swift is to "Find All" -> ";"
-> "Replace With" -> ""
I'm fine with allowing them only in C-style for loops and to separate
multiple statements on the same line, so +1 :)
A migration can easily fix all of them at once.
On Sun, Dec 13, 2015 at 3:12 PM, João Nunes <swift-evolution at swift.org>
> I submitted a PR with a proposal to remove the swift end of line
> It was rejected because i didn't discuss it here. So here i'm discussing
> it :)
> My proposal is simple: remove the semicolons in the end of lines.
> It isn't needed and makes the code ugly.
> It must be decided wether to use it or not for every project we start in
> the coding style.
> What do you think?
> João Nunes
> Sent from my iPhone
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution