<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 Feb 22, 2017, at 5:32 PM, Ben Cohen via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 22, 2017, at 10:42 AM, Nate Cook 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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Oops, left out that there's this horrifying way of writing it right now:<div class="">&lt;snip&gt;</div><div class="">Nobody wants that.</div><div class=""><br class=""></div></div></div></blockquote><div class=""><br class=""></div><div class="">Oh I don’t think it’s all that bad! It also doesn’t need to be an IUO, since you’re unwrapping it immediately into another variable no matter what.</div></div></div></div></blockquote><div><br class=""></div>One big issue is that can cause erroneous usage to propagate:</div><div><br class=""></div><div>// want to index to the first character after the paren</div><div>str.index(str.index(of: “(“), offsetBy: 1)</div><div><br class=""></div><div>before this sort of code would give an error saying that the case where “(“ was not found wasn’t handled, but now it will silently give unexpected behavior.</div><div><br class=""></div><div>-DW</div><div>&nbsp;<br class=""></div><br class=""></body></html>