Hi <span class="gmail_quote"><span class="gmail_sendername">Göran, all.</span></span><br><br><div><span class="gmail_quote">On 9/17/07, <b class="gmail_sendername">Göran Krampe</b> &lt;<a href="mailto:goran@krampe.se">goran@krampe.se
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi folks!<br><br>I just read through Michael van der Gulik&#39;s page:
<br><br><a href="http://gulik.pbwiki.com/Namespaces">http://gulik.pbwiki.com/Namespaces</a><br><br>Just stumbled over it btw, and I have only read it once and wrote down<br>some notes compared to my own little &quot;venture&quot; in this area:
<br><br><a href="http://swiki.krampe.se/gohu/32">http://swiki.krampe.se/gohu/32</a><br><br>Which I like to call &quot;Prefixes Improved&quot; perhaps. Anyway, here goes and<br>this is mainly addressed to Michael btw.<br><br>
Namespace comments:<br><br>- I personally think hierarchical namespaces is &quot;too much&quot;. I opted for<br>single level namespaces and still think that is enough.</blockquote><div><br><br>We already have hierarchical categories in Squeak. For example, &quot;Kernel-Chronology-Tests&quot;. I&#39;m making hierarchical namespaces available, but you don&#39;t have to nest things more than one level deep if you don&#39;t like that style.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- I personally don&#39;t like the &quot;.&quot; notation for namespaces, especially
<br>since we already use &quot;.&quot; for statement separation. I still think &quot;::&quot; is<br>the best I have seen, although granted - this is a tiny, tiny detail.</blockquote><div><br><br>Meh. I like the dots; they look tidy. If you can give me a good reason not to use them then I&#39;m happy to change.
<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- Imports are done in your code &quot;per Namespace&quot; which is immensely better
<br>than like for example in Java where it is per class (well, per file, but<br>anyway). It is still though the major difference with my proposal in which<br>there are *no* explicit imports at all.<br><br>- I agree that shared pools theoretically could be replaced with
<br>Namespaces, but then we actually have imports *per class*, which I really<br>don&#39;t like. You may argue, &quot;but we already have them!&quot; - yes, I agree, but<br>I don&#39;t like them anyway and in my proposal I opted out by simply
<br>ignoring/not touching them. :)</blockquote><div><br><br>To be honest, I&#39;ve never really used shared pools, so I don&#39;t know much about how they&#39;re used. In my conversion (categories-&gt;namespaces) code, I turn a shared pool into a sub-namespace of the class they appear in (ooh... that could be a bug...). I haven&#39;t tested this yet. For the meanwhile I&#39;ve left class pools as they are.
<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;">- Your Namespaces are linked to a Package scheme, I personally would like<br>to keep these concepts separate.
</blockquote><div><br><br>(background for people: Package is a subclass of Namespace and forms the root of a namespace hierarchy).<br><br>Why is this a bad thing? Could you be more specific?<br></div><div><br>If anybody is interested, an old and very buggy version is available on the PackageUniverses. Install the &quot;NamespacesBrowser&quot; package and then evaluate &quot;NamespaceBrowser example&quot; (IIRC?) to open it. Newer versions which work better are available at 
<a href="http://www.squeaksource.com/SecureSqueak">http://www.squeaksource.com/SecureSqueak</a>.<br><br>Currently, I can file out and file in a package, manage them, create new classes save methods, open a workspace which only resolves globals from a particular namespace, and create instances of objects in those namespaces.
<br><br>Gulik.<br></div></div>