<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 15, 2015, at 8:39 AM, J. Cheyo Jimenez 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=""><div dir="ltr" class=""><span style="font-size:12.8px" class="">Thank you Paul for the initial draft. </span><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class="">Here is the a draft version that I intend to submit. <br class=""><div class=""><br class=""></div><div class=""><a href="https://github.com/masters3d/swift-evolution/blob/ReplaceTernary/proposals/00-Replace%20%3F:%20Ternary%20Operator%20with%20if-then-else%20expression.md" target="_blank" class="">https://github.com/masters3d/swift-evolution/blob/ReplaceTernary/proposals/00-Replace%20%3F:%20Ternary%20Operator%20with%20if-then-else%20expression.md</a></div></div></div></div></blockquote></div><br class=""><div class="">Random comment, but in your code examples like this:</div><div class=""><br class=""></div><div class=""><pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 14px; margin-top: 0px; margin-bottom: 0px; line-height: 1.45; padding: 16px; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; word-break: normal; color: rgb(51, 51, 51);" class=""> <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">let</span> color <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">=</span> (<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">if</span> stop <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">then</span> <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179);">Color</span><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">.</span>red <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">else</span> <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179);">Color</span><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">.</span>green) </pre><div class=""><br class=""></div></div><div class=""><br class=""></div><div class="">I’d suggest including the existing ternary version. The proposal is really about replacing ternary with this syntax, so it should show the “before and after”, not just the after. Your pitch is that code will look better / be easier to read if this proposal goes through, so you should demonstrate that.</div><div class=""><br class=""></div><div class="">-Chris</div></body></html>