<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>+1 for clean-up:</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">• "and" instead of &amp;&amp;&nbsp;</div><div id="AppleMailSignature">• "or" instead of ||</div><div id="AppleMailSignature">• "not" instead of !</div><div id="AppleMailSignature"><span style="background-color: rgba(255, 255, 255, 0);">• if expressions instead of ?!</span></div><div id="AppleMailSignature"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div id="AppleMailSignature">Easier to read, easier to type, easier to understand for beginners.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">As a bonus, it doesn't look like optionals (less !s and ?s).</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">R+</div><div id="AppleMailSignature"><br>Sent from my iPhone</div><div><br>On 15 Dec 2015, at 20:49, Sune Foldager via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8"><br class=""><div><blockquote type="cite" class=""><div class="">On 15 Dec 2015, at 17:05, Tommy van der Vorst 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 class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I *do* see negative effects of removing it: ! is part of virtually all programming languages currently in use, any decent programmer is accustomed to it and read it like 'not' in their head anyway. Removing would definitely confuse newcomers to the language.&nbsp;</div></div></blockquote><div><br class=""></div><div>I completely agree. While it *is* a bit weird to use the same symbol for forced unwrap and its more traditional use as boolean negation, removing the one virtually all other languages have is not the answer. If we do that, why not also ~ for binary negation, || and &amp;&amp; and even + and -.</div><div><br class=""></div><div>It’s always a balance between verbosity, “natural language”-ness and terseness. It’s not always easier to read code that’s very verbose, and I’m sure we don’t want Swift to be like AppleScript.</div><div><br class=""></div><div>-Sune</div></div><br class="">
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=j4IybsUIPYHiRcwUyRdFaZTrCchDy02acJXqYrvRbYA5DdNI7mYKgUO29XvBUbVeER8UbQhxZgH0FJXCso4sjoxx7nL6zHPCv4FyS1evWiMKUymurb7tnNJCo2e2hmKOmAA-2FD3oWLF8o-2Fx-2Fv4ugsURDIZBC-2BCsoDmLsl1ZHI0DWxU4dc1Q3n4KFA6jpqaaLwXllXxzLHWzkDIJ82ClnlRQ-3D-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;">

</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></body></html>