<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=""><div class="">Dear Swift Team and Swift-Evolution members,</div><div class=""><br class=""></div><div class="">I want to send a quick note of appreciation to everyone who participated in this proposal process:</div><div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class="">Team, thank you for taking my suggestion seriously and encouraging me to transform my tweet into a now-accepted formal language enhancement. </li><li class="">Doug, thank you for being my proposal manager and guiding SE-0007 through the entire process (and for putting up with my frantic emails and confusion!)</li><li class="">List members, thank you for your feedback both for and against this proposal. It was an honor to have my idea taken seriously and be showered with your thoughtful arguments both for and against.</li></ul></div><div class=""><br class=""></div><div class="">It's been an incredible learning experience for me. I hope I will continue to be able to contribute to the future of the language.</div><div class=""><br class=""></div><div class="">With warmest regards,</div><div class=""><br class=""></div><div class="">-- Erica </div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 14, 2015, at 11:37 AM, Douglas Gregor via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello all,</div><div class=""><br class=""></div><div class="">The review of SE-0007 “Remove C-style for-loops with conditions and incrementers” ran from December 7–10, 2015. The proposal has been <b class="">accepted</b> for Swift 3.0.</div><div class=""><br class=""></div><div class="">Thank you to everyone who participated in the review process! We had a lot of discussion around this proposal. For the most part, there was agreement that C-style for loops are quite rare in Swift code, and most of the existing uses would be better written as for-in loops. Much of the debate focused on two particular areas where the removal of C-style for loops could cause problems:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>* Some loops are awkward to express cleanly with for-in, such as counting down, and there are advanced uses of C-style for loops that are hard to express otherwise. The core team feels that some of the awkwardness for simple loops (e.g., counting down) should be addressed by improvements in the Standard Library, and that the remaining, more advanced uses are not common enough to justify keeping C-style for loops in the language.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>* Performance of the for-in loop lags behind that of the C-style for loop in some cases. The core team feels that optimizer improvements can close this performance gap, and that ‘while’ loops are an acceptable substitute for performance-critical code where the optimizer isn’t yet eliminating the abstractions used in the for-in loop.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">We welcome implementations of this proposal! Because it involves the removal of an existing feature, the implementation will need to be staged across the two upcoming Swift releases:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>* For Swift 2.2: introduce a warning to tell users that the C-style for loop is going away (covered by <a href="https://bugs.swift.org/browse/SR-226" class="">https://bugs.swift.org/browse/SR-226</a>)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>* For Swift 3.0 (once we branch 2.2): actually remove C-style for loops (covered by <a href="https://bugs.swift.org/browse/SR-227" class="">https://bugs.swift.org/browse/SR-227</a>)</div><div class=""><br class=""></div><div class=""><div class="">For reference, the proposal document is here:</div><div class=""><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>(<a href="https://github.com/apple/swift-evolution/blob/master/proposals/0007-remove-c-style-for-loops.md" class="">https://github.com/apple/swift-evolution/blob/master/proposals/0007-remove-c-style-for-loops.md</a>)</div></div></div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- Doug Gregor, Review Manager</div><div class=""><br class=""></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=r5jpKsi6nat7oa43lpCLi5GRGm2utDkbDscuFklXZ2c1LpOuqkoOqCRWUddT3AqwKzplh3eoLgT3R-2FagwyEbcluryg0rc85EMl4VxzliNfxIFWk-2Fmhhji5BpWbQGqz-2FmTZkWlSywgh-2Fhw1vaUxgh3UqWgflYeuaTd0EincRW9l3Xd5C3xYLq9HCvB3vWo5u-2Bq1BsVPWwN5zpf-2ByohfFOGB3-2BDlizaNnMn0iVCgLiOPk-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="">
</div>
_______________________________________________<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=""></body></html>