<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 Jan 30, 2017, at 5:55 AM, Tuur Anton via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div class="">
<div class="">The lack of namespaces is making people create all kinds of "design patterns".<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">What do you think?</div><div class=""><br class=""></div> </div></div></blockquote></div><br class=""><div class="">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 class=""><br class=""></div><div class="">using System;</div><div class="">using System.Collections.Generic;</div><div class="">using System.Linq;</div><div class="">using System.Runtime.Serialization;</div><div class="">using System.ServiceModel;</div><div class="">using System.ServiceModel.Web;</div><div class="">using System.Text;</div><div class="">using System.Data;</div><div class="">using System.Data.SqlClient;</div><div class="">using System.Web;</div><div class="">using <a href="http://System.Net" class="">System.Net</a>;</div><div class="">using <a href="http://System.Net" class="">System.Net</a>.HttpClient;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The only thing we really need in Swift is the ability to have a Private submodule, especially for mixed-mode frameworks.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Russ</div></body></html>