<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Dec 6, 2015, at 11:08 AM, Per Melin &lt;<a href="mailto:p@greendale.se" class="">p@greendale.se</a>&gt; wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">On Sun, Dec 6, 2015 at 5:59 PM, Erica Sadun 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=""><div class="gmail_extra"><div class="gmail_quote"><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 style="font-size:16px" class="">Another complaint regarded a loss of succinctness. Per Melin wrote:&nbsp;<br class=""></div><span class=""><div style="font-size:16px" class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px;font-size:16px" class=""><div class=""><div style="font-family:Palatino-Roman" class="">Another example from the same LinkedList class. It finds the right place to insert a new node:</div></div><div class=""><div style="font-family:Palatino-Roman" class=""><br class=""></div></div><div class=""><div style="font-family:Palatino-Roman" class=""><div style="margin:0px;font-size:18px;font-family:Inconsolata" class=""><span style="color:rgb(187,44,162)" class="">&nbsp; for</span>&nbsp;next =&nbsp;<span style="color:rgb(79,129,135)" class="">head</span>; next !=&nbsp;<span style="color:rgb(187,44,162)" class="">nil</span>&nbsp;&amp;&amp; index &gt;&nbsp;<span style="color:rgb(39,42,216)" class="">0</span>; prev = next, next = next!.<span style="color:rgb(79,129,135)" class="">next</span>, --index { }</div></div></div><div class=""><div style="font-family:Palatino-Roman" class=""><br class=""></div></div><div class=""><div style="font-family:Palatino-Roman" class="">Extreme? Probably, but I like it better than the same thing done in five lines of while loop.</div></div></blockquote><div style="font-size:16px" class=""><br class=""></div></span><div style="font-size:16px" class=""></div></div></blockquote><div class=""><br class=""></div><div class="">No worries, but for the record, I did absolutely not write that. I *quoted* that. I think that C-style 'for' is a horrible mess that should be killed with fire.</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div>
</div></blockquote></div><br class=""><div class="">My apologies! -- E</div><div class=""><br class=""></div></body></html>