<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I would be against removing semi-colons.&nbsp;<div class=""><br class=""></div><div class="">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. &nbsp;The former can be caught with de-linting. The latter offers a valuable tool.</div><div class=""><br class=""></div><div class="">Poor style we will always have. Removing single-line statement grouping offers no measurable gain at a real cost.<div class=""><br class=""></div><div class="">-- &nbsp;Erica</div><div class=""><br class=""><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 14, 2015, at 2:21 PM, Charles Constant via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">&gt; semicolon within a line is a expressivity feature.<br class=""><div class=""><br class=""></div><div class="">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! &nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Dec 14, 2015 at 12:57 PM, Sune Foldager via swift-evolution <span dir="ltr" class="">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)" class=""><b class="">From: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">Chris Lattner &lt;<a href="mailto:clattner@apple.com" target="_blank" class="">clattner@apple.com</a>&gt;<br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)" class=""><b class="">Subject: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class=""><b class="">Re: [swift-evolution] Proposal to remove semicolons</b><br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)" class=""><b class="">Date: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">14 December 2015 at 20:01:00 GMT+1<br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)" class=""><b class="">To: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class="">Colin Cornaby &lt;<a href="mailto:colin.cornaby@mac.com" target="_blank" class="">colin.cornaby@mac.com</a>&gt;<br class=""></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px" class=""><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif;color:rgba(127,127,127,1.0)" class=""><b class="">Cc: </b></span><span style="font-family:-webkit-system-font,Helvetica Neue,Helvetica,sans-serif" class=""><a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>, <a href="mailto:joao3001@hotmail.com" target="_blank" class="">joao3001@hotmail.com</a><br class=""></span></div><span class=""><br class=""><div style="word-wrap:break-word" class=""><div class="">There are two different topics here, and I’d suggest exploring them separately.</div><div class=""><br class=""></div><div class="">- The semicolon within a line is a expressivity feature.</div></div></span></div></blockquote><div class=""><br class=""></div><div class="">Yes, and it’s also useful for shell one-liners like "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 class=""><br class=""></div><div class="">-Sune</div><div class=""><br class=""></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" class="">
</div>
<br class="">_______________________________________________<br class="">
swift-evolution mailing list<br class="">
<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="">
<br class=""></blockquote></div><br class=""></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="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;" class="">
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></div></div></div></div></body></html>