<html><body><div>It does seem odd there is a large focus on removing C style language features from Swift, but that the semi colon is still around.</div><div><br data-mce-bogus="1"></div><div>I'd be in favor of making them invalid syntax on single statement lines. It reduces confusion/code style arguments. I've stopped using them in Swift. They don't do anything on single statement lines, why bother?</div><div><br>On Dec 14, 2015, at 10:04 AM, Arthur Ariel Sabintsev via swift-evolution <swift-evolution@swift.org> wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div dir="ltr">I'm also game for making them invalid syntax. <div><br></div><div>The only time I've seen `;` in my code is from my old Obj-C habit.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 14, 2015 at 12:25 PM Austin Zheng via swift-evolution <<a href="mailto:swift-evolution@swift.org" data-mce-href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px #ccc solid; padding-left: 1ex;" data-mce-style="margin: 0 0 0 0.8ex; border-left: 1px #ccc solid; padding-left: 1ex;">Semicolons are already optional at the end of lines and only required to separate multiple statements on the same line (and for C for loops, but changing the grammar of those or removing them is a different topic.<br> <br> If your proposal is to make a semicolon at the end of a single line invalid syntax, that's fine with me, although it seems like an unnecessarily small change to the grammar (and something better handled by a linter). If your proposal is to remove the semicolon as a way to separate multiple statements on the single line, then -1.<br> <br> Austin<br> <br> > On Dec 13, 2015, at 6:12 AM, João Nunes via swift-evolution <<a href="mailto:swift-evolution@swift.org" data-mce-href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br> ><br> > Hi,<br> ><br> > I submitted a PR with a proposal to remove the swift end of line semicolons.<br> ><br> > It was rejected because i didn't discuss it here. So here i'm discussing it :)<br> ><br> > My proposal is simple: remove the semicolons in the end of lines.<br> > It isn't needed and makes the code ugly.<br> > It must be decided wether to use it or not for every project we start in the coding style.<br> ><br> > What do you think?<br> ><br> > João Nunes<br> ><br> ><br> > Sent from my iPhone<br> > _______________________________________________<br> > swift-evolution mailing list<br> > <a href="mailto:swift-evolution@swift.org" data-mce-href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br> > <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" data-mce-href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br> <br> _______________________________________________<br> swift-evolution mailing list<br> <a href="mailto:swift-evolution@swift.org" data-mce-href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" data-mce-href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br></blockquote></div><div dir="ltr">-- <br></div><div dir="ltr">Best,<div><br></div><div>Arthur / <a href="http://Sabintsev.com" data-mce-href="http://Sabintsev.com">Sabintsev.com</a></div></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=OFgvmg1J6naJevMotmPmRgzA4p1gcL5s2O89Xj3c0DRJma2WItJtI0x5s76vEWC9v-2BljUear5ofEe57j0g4mU4CodrJGN8Pr-2BnxYf-2FPnDSM-2FQ05UP4gbk-2Bc2ud4-2B7wuczxRQPzxhLLkX4bBydR8Fr4XqMM4btNOm7-2BGBUKKzQ6iGuCaEwrV-2Brokz1WU7KcdlVwW5lmvhakLeJLzRlkI-2FvUd5djrC7wkStCClWqQ7jpE-3D" alt="" width="1" height="1" border="0" style="height: 1px; width: 1px; border-width: 0; padding: 0; margin: 0;" data-mce-src="https://u2002410.ct.sendgrid.net/wf/open?upn=OFgvmg1J6naJevMotmPmRgzA4p1gcL5s2O89Xj3c0DRJma2WItJtI0x5s76vEWC9v-2BljUear5ofEe57j0g4mU4CodrJGN8Pr-2BnxYf-2FPnDSM-2FQ05UP4gbk-2Bc2ud4-2B7wuczxRQPzxhLLkX4bBydR8Fr4XqMM4btNOm7-2BGBUKKzQ6iGuCaEwrV-2Brokz1WU7KcdlVwW5lmvhakLeJLzRlkI-2FvUd5djrC7wkStCClWqQ7jpE-3D" data-mce-style="height: 1px; width: 1px; border-width: 0; padding: 0; margin: 0;"><div class="_stretch"><span class="body-text-content">_______________________________________________<br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" data-mce-href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" data-mce-href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br></span></div></div></blockquote></div></body></html>