<div dir="ltr">On the other side, I&#39;d say requiring explicit initialization to nil increases the amount of busywork for the programmer for no good reason.  I use it all the time and I would be pretty annoyed if it went away.  I would be pretty shocked if most Swift users don&#39;t know that exists.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 2:33 PM, Slava Pestov via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Right now, the following two declarations are equivalent:<br>
<br>
struct S {<br>
  var x: Int?<br>
}<br>
<br>
struct S {<br>
  var x: Int? = nil<br>
}<br>
<br>
That is, mutable bindings of sugared optional type (but not Optional&lt;T&gt;!) always have a default value of ‘nil’. This feature increases the surface area of the language for no good reason, and I would like to deprecate it in -swift-version 5 with a short proposal. Does anyone feel strongly about giving it up? I suspect most Swift users don’t even know it exists.<br>
<br>
Slava<br>
______________________________<wbr>_________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Functional Programmer, iOS Developer, Surfs Poorly<br><a href="http://twitter.com/n8gray" target="_blank">http://twitter.com/n8gray</a></div>
</div>