<br><br><div class="gmail_quote">On Jan 24, 2008 7:02 PM, Jason Johnson &lt;<a href="mailto:jason.johnson.081@gmail.com">jason.johnson.081@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Jan 23, 2008 11:50 PM, Michael van der Gulik &lt;<a href="mailto:mikevdg@gmail.com">mikevdg@gmail.com</a>&gt; wrote:<br>&gt; <a href="http://gulik.pbwiki.com/Namespaces" target="_blank">http://gulik.pbwiki.com/Namespaces
</a><br>&gt;<br>&gt; There is code available on the 3.10 Package Universes that I&#39;m currently<br>&gt; using to varying degrees of success.<br>&gt;<br>&gt; Gulik.<br><br></div>Well, this isn&#39;t what I had in mind [1], but it looks quite good I
<br>must say. &nbsp;Are you planning to keep this namespace system as a<br>separate entity from &quot;User&quot; and the other concepts you mentioned? &nbsp;</blockquote><div><br><br>Yes. Namespaces are just another component of my Unnamed Grand Project[1][2].
<br><br>[1] <a href="http://gulik.pbwiki.com/Unnamed+Grand+Project">http://gulik.pbwiki.com/Unnamed+Grand+Project</a><br>[2] Naming suggestions welcome.<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The<br>namespace part seems like potentially a good candidate for adoption to<br>me. &nbsp;Do you have any pointers to projects using it, to get a feel for<br>how well it&#39;s working in practice?</blockquote><div><br><br>It won&#39;t be a candidate for adoption until the implementation is stable and widely used.
<br><br>As of yet, I&#39;m only beginning to use my own tools to make actual namespaced projects. If you load the namespace tools from the 3.10 package universe, it automatically generates some demo namespaces (Kernel, Collection), but I wouldn&#39;t recommend using these in your own projects except for playing around. I&#39;m currently porting Kernel and Collection to namespaces now.
<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">[1] It&#39;s actually not so far away though. &nbsp;What I was envisioning was<br>
a system that behaves mostly like now, but &quot;module classes&quot; or<br>&quot;component classes&quot; (classes that are made up of *classes* and methods<br>instead of just methods) would be visible in the main dictionary and
<br>none of the classes that make one up would be visible. &nbsp;The only way<br>one could be referenced outside is if the &quot;module class&quot; returned on<br>from a method. &nbsp;There would probably be on the code browser when
<br>looking at such a class that lets one &quot;zoom in&quot; to see inside it and<br>make changes.</blockquote><div><br><br>This sounds like a facade pattern to me.<br></div></div><br>I&#39;m considering making namespaces able to be &quot;private&quot;. You could then make a facade object which was the only class that has access to that namespace.
<br><br>Gulik.<br clear="all"><br>-- <br><a href="http://people.squeakfoundation.org/person/mikevdg">http://people.squeakfoundation.org/person/mikevdg</a><br><a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a>