<html><body><div id="edo-message"><div>Guard wouldn't work, because the "else" is usually on the same line as the last element.</div><div><br></div><div>Perhaps the answer is better commenting in IDEs? So if you select a region and hit CMD+/ Xcode will comment with /*...*/ instead of sticking a // in front of the whole line.</div><div><br></div><div>Perhaps it could auto-expand to the complete clause if you select most of a clause in a multi-clause condition?</div><div><br></div><div>Karl<br><br><div style="font-family: 'Helvetica Neue','Helvetica',Helvetica,Arial,sans-serif;font:'-apple-system-body';">Sent from my new <a href="https://itunes.apple.com/app/apple-store/id922793622?pt=814382&amp;mt=8&amp;ct=my_new_email">Email</a></div></div></div><div id="edo-original"><div><br><br><blockquote type="cite" style="margin:1ex 0 0 0;border-left:1px #ccc solid;padding-left:0.5ex;"><div>On Aug 19, 2016 at 1:21 am, &lt;<a href="mailto:swift-evolution@swift.org">Rick Mann via swift-evolution</a>&gt; wrote:<br><br></div><div><pre><br>&gt; On Aug 17, 2016, at 18:11 , Ben Rimmington &lt;<a dir="ltr" href="mailto:me@benrimmington.com" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2">me@benrimmington.com</a>&gt; wrote:<br>&gt; <br>&gt; <br>&gt;&gt; On 18 Aug 2016, at 00:13, Rick Mann wrote:<br>&gt;&gt; <br>&gt;&gt; Is there any reason Swift can't allow a trailing comma in constructs like this:<br>&gt;&gt; <br>&gt;&gt; guard<br>&gt;&gt;   let a = ...,<br>&gt;&gt;   let b = ...,<br>&gt;&gt;   let c = ...,<br>&gt;&gt; else<br>&gt;&gt; {<br>&gt;&gt; }<br>&gt;&gt; <br>&gt;&gt; doing so makes it a bit easier to rearrange lines, and is similar to the trailing comma allowed inside array and dictionary definitions:<br>&gt;&gt; <br>&gt;&gt; let a = [ 1, 2, 3, ]<br>&gt; <br>&gt; A similar proposal was rejected:<br>&gt; <br>&gt; &lt;<a dir="ltr" href="https://lists.swift.org/pipermail/swift-evolution-announce/2016-May/000171.html" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="4">https://lists.swift.org/pipermail/swift-evolution-announce/2016-May/000171.html</a>&gt;<br><br>Thanks. Hmm. The stated arguments seem to apply to tuples and parameter lists, not variable bindings.<br><br>-- <br>Rick Mann<br>rmann@latencyzero.com<br><br><br>_______________________________________________<br>swift-evolution mailing <a dir="ltr" href="mailto:listswift-evolution@swift.orghttps" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="5">list</a><br><a dir="ltr" href="mailto:listswift-evolution@swift.orghttps" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="5">swift-evolution@swift.org</a><br><a dir="ltr" href="mailto:listswift-evolution@swift.orghttps" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="5">https</a>://lists.swift.org/mailman/listinfo/swift-evolution<br></pre></div></blockquote></div></div></body></html>