<div dir="ltr">I'm not sure those examples are what we should aim for. Generally I try to avoid force unwrapping, and specifically in these cases I belive a more reliable code would be produced without either ! or the !! operators:<div><br></div><div><a href="https://gist.github.com/ilyannn/4c5530c75293db0324a04f50ae691b2a">https://gist.github.com/ilyannn/4c5530c75293db0324a04f50ae691b2a</a></div><div><br></div><div>I understand coding styles may differ, but I do worry that we "promote" force unwrapping too much by inroducing another operator for it.</div><div><br></div><div>Ilya.</div><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 29, 2017 at 6:55 PM Erica Sadun via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On Jun 29, 2017, at 9:13 AM, Dave DeLong <<a href="mailto:delong@apple.com" target="_blank">delong@apple.com</a>> wrote:</div><div><div style="font-family:Palatino-Roman;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Palatino-Roman;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">My usage of “!!” generally falls in to two big buckets:</div><div style="font-family:Palatino-Roman;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div></div></blockquote><br></div></div><div style="word-wrap:break-word"><div>I've incorporated all the feedback to date and updated the gist:</div><div><br></div><div><a href="https://gist.github.com/erica/423e4b1c63b95c4c90338cdff4939a9b" target="_blank">https://gist.github.com/erica/423e4b1c63b95c4c90338cdff4939a9b</a></div></div><div style="word-wrap:break-word"><div><br></div><div>-- E</div><div><br></div><br></div>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div></div></div>