<div dir="ltr">+1</div><div class="gmail_extra"><br><div class="gmail_quote">On 31 January 2017 at 11:32, Russ Bishop 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"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><span class=""><div>On Jan 30, 2017, at 5:55 AM, Tuur Anton via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br class="m_-6244843517574508358Apple-interchange-newline"></span><div>
  
    
  
  <div><span class="">
<div>The lack of namespaces is making people create all kinds of &quot;design patterns&quot;.<br></div><div><br></div><div><br></div></span><div>What do you think?</div><div><br></div>  </div></div></blockquote></div><br><div>I’ve used languages with namespaces for many years. I don’t find multi-level namespaces to be much of an improvement over a single-level namespace in most cases. On the contrary, I find it much simpler to avoid hunting around importing a hundred namespaces. This is what you end up with:</div><div><br></div><div>using System;</div><div>using System.Collections.Generic;</div><div>using System.Linq;</div><div>using System.Runtime.Serialization;</div><div>using System.ServiceModel;</div><div>using System.ServiceModel.Web;</div><div>using System.Text;</div><div>using System.Data;</div><div>using System.Data.SqlClient;</div><div>using System.Web;</div><div>using <a href="http://System.Net" target="_blank">System.Net</a>;</div><div>using <a href="http://System.Net" target="_blank">System.Net</a>.HttpClient;</div><div><br></div><div><br></div><div><br></div><div>The only thing we really need in Swift is the ability to have a Private submodule, especially for mixed-mode frameworks.</div><div><br></div><div><br></div><div>Russ</div></div><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font color="#999999" size="2" face="georgia, serif"><i>Pranshu Goyal</i></font><div><font color="#999999" size="2" face="times new roman, serif"><i>iOS Developer</i></font></div><div><font color="#999999" size="2" face="times new roman, serif"><i>tlkn</i></font></div></div></div>
</div>