<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><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: 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; float: none; display: inline !important;" class="">Let’s discuss something else. Actually there is an easy fix: make all functions accept optionals. I think this is a really bad idea</span></div></blockquote></div>Indeed.<div class="">I don't think there is a good motivation to change the status quo:</div><div class="">You can't "sugar away" everything; sometimes, you just have to write a line of code that does what you want.</div><div class="">As you can "if let" convert as many optionals as you like in a single statement, it really doesn't hurt that much.</div><div class=""><br class=""></div><div class="">The precondition stuff looks exactly like guard inside the function to me… what's the benefit of that?</div></body></html>