<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 4 Dec 2015, at 16:44, Amir Michail <<a href="mailto:a.michail@me.com" class="">a.michail@me.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 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;" class=""><div class="">I don’t want to remember if a variable is optional. I want to see it in the variable name.</div></div></div></blockquote><br class=""></div><div>Optionality is associated with the type, not the identifier. In addition, how would you deal with type aliases to optional constructs?</div><div><br class=""></div><div>typealias MaybeString = String?</div><div>var maybe:MaybeString</div><div><br class=""></div><div>This doesn’t ‘look’ like an optional value (so would it deserve a ? at the end) but if you have MaybeString? you now have an Optional<Optional<String>>. Should you have ?? there now?</div><br class=""><div class="">Alex</div></body></html>