Is it okay to use deep namespaces in JavaScript
<p>I've decided to follow suit with the namespacing method defined in this article:</p>

<p><a href="http://enterprisejquery.com/2010/10/how-good-c-habits-can-encourage-bad-javascript-habits-part-1/" rel="nofollow">http://enterprisejquery.com/2010/10/how-good-c-habits-can-encourage-bad-javascript-habits-part-1/</a></p>

<p>Is it good practice to go more than one level deep with namespacing? For example if I have a namespace of 'app' and wanted to store all my components in their own namespace I might have 'app.components' and so on. I might go even further with 'app.components.visual'. </p>

<p>Secondly I am confused as to how constructors fit into this pattern. Do you just put the constructor inside the self-executing function and reference it like:</p>

<pre><code>var test = new app.MyConstructor() 
</code></pre>

<p>Again, is this good practice?</p>
