<div dir="ltr">The author of the proposal explicitly states that the proposal is about semicolons <b>at the end of the line</b>.<div>Any discussion about semicolons in other locations is therefor likely unnecessary.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 11:34 PM, Erica Sadun via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I would be against removing semi-colons. <div><br></div><div>Semicolons can be used poorly, for example, terminating lines due to C-style coding habits. Semicolons can be used well, for example, grouping related tasks together, such as combining alloc with its defer{free} counterpart.  The former can be caught with de-linting. The latter offers a valuable tool.</div><div><br></div><div>Poor style we will always have. Removing single-line statement grouping offers no measurable gain at a real cost.<div><br></div><div>--  Erica</div><div><br><div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Dec 14, 2015, at 2:21 PM, Charles Constant via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">&gt; semicolon within a line is a expressivity feature.<br><div><br></div><div>I don&#39;t care if they&#39;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!  </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 12:57 PM, Sune Foldager via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br><blockquote type="cite"><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>From: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Chris Lattner &lt;<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>&gt;<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>Subject: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif"><b>Re: [swift-evolution] Proposal to remove semicolons</b><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>Date: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">14 December 2015 at 20:01:00 GMT+1<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif">Colin Cornaby &lt;<a href="mailto:colin.cornaby@mac.com" target="_blank">colin.cornaby@mac.com</a>&gt;<br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)"><b>Cc: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif"><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>, <a href="mailto:joao3001@hotmail.com" target="_blank">joao3001@hotmail.com</a><br></span></div><span><br><div style="word-wrap:break-word"><div>There are two different topics here, and I’d suggest exploring them separately.</div><div><br></div><div>- The semicolon within a line is a expressivity feature.</div></div></span></div></blockquote><div><br></div><div>Yes, and it’s also useful for shell one-liners like &quot;swift &lt;(echo ‘some; swift; statements’)” (is there an option I’m missing to avoid the shell trick?). I am against removing them.</div><div><br></div><div>-Sune</div><div><br></div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=l3fs1g-2F466j3y5fD5Q61KddsTTCmXL0uxw3XoAMFFNjiuMxIhcyi7u1e0Y4oq3RSkqUPsKWyzHyIhvMMXovTwIslCHhGGR-2FK4QvKSesKUfOR5KENHVrzgcs-2FEw5w5Y72eTRIh9fwD3NQcT9s8JlAOZIwW1VKqt0BQpk5E0oKUw6FHSGQDHR9UO4iaKr1J5uFDuK0-2Fugr2npAb9sEDY9EUS1h3qPqRL4FjeeOR26gS1w-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div>
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>
</div></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=r5jpKsi6nat7oa43lpCLi5GRGm2utDkbDscuFklXZ2eUXWMx3f3V-2F8TaIUlQyyn71d4qHHj5cHsd0pMqyRRxbo2dtpW9jyxFBCebtDBgZ44Tu3PDfMqx-2Bn3TOB2j9cRaqaPywA55LpkqyqtLCRdfxb8MWwgBqzeG9Pzgm4FwoyIZftSJZ2bTRSHsbH3J9S-2BAckVQRgrqamQgDInR2aJ81idBbt5Eotjiql6sPVN-2BEk0-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
_______________________________________________<span class=""><br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br></span></div></blockquote></div><br></div></div></div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=6ZGE61OxINd5lLe2xYh9Ku-2BXbixWNr2nvfzp2IB1sZjVmA7ZcHpN3MfwfcO6pybExR6kFYZF3boanhllqkQrpwM9CkOjUbLst-2F3uoTTFX6sPGUWdvQHvQdaNrUmLEwcXN-2BumIRQnzoOnUhlYVUtEUg4Ba6PBmH42z0-2BKI22VcL6uYS2Wf0PH7TT-2FoKgnG4sXSzeFsfK1OEP8hbCyrEtdYsVeGjONlcBz4WB9NcPY7z0-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div>
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>