Array is a class, not a message. This is /not/ elegant and simply doesn&#39;t make sense. This is my last comment on this approach.<br><br>What is possible is:<br><br>self add: (Kernel-Array new: 4).<br><br>Here, #- is a message.
<br><br>Michael.<br><br><br><div><span class="gmail_quote">On 9/19/07, <b class="gmail_sendername">Brent Pinkney</b> &lt;<a href="mailto:brent@zamail.co.za">brent@zamail.co.za</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;">
<br>+10000 for:<br><br>self add: (Kernel Array new: 4).<br><br>This mechanism preseves the elegant foundation of Smalltalk: &#39;Everyting is an Object, which receives a messages and returns an object&#39;.<br>In this (Dan&#39;s ?) solution, the implementation is late bound and can use the same lookup algorithm as used for messages.
<br><br>The other solutions lack this elegance.<br><br>On Dinsdag, 18 September 2007, Ron Teitelbaum wrote:<br>&gt; +1 for ::<br>&gt;<br>&gt; Even if it is really<br>&gt;<br>&gt; self add: (Kernel::Array new: 4).<br>&gt;<br>
&gt; :)<br>&gt;<br>&gt; Ron<br>&gt;<br>&gt; &gt; -----Original Message-----<br>&gt; &gt; From: <a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org">squeak-dev-bounces@lists.squeakfoundation.org</a> [mailto:<a href="mailto:squeak-dev-">
squeak-dev-</a><br>&gt; &gt; <a href="mailto:bounces@lists.squeakfoundation.org">bounces@lists.squeakfoundation.org</a>] On Behalf Of Bert Freudenberg<br>&gt; &gt; Sent: Tuesday, September 18, 2007 6:31 AM<br>&gt; &gt; To: The general-purpose Squeak developers list
<br>&gt; &gt; Subject: Re: Quick comparison of two Namespaces proposals<br>&gt; &gt;<br>&gt; &gt; On Sep 18, 2007, at 11:55 , Michael van der Gulik wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; self add: Kernel.Array new: 4.<br>&gt; &gt; &gt; self add: Kernel::Array new: 4.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; What do other people think?<br>&gt; &gt;<br>&gt; &gt; +10 for ::<br>&gt; &gt;<br>&gt; &gt; Though I hope this won&#39;t become a bikeshed discussion of syntax, but<br>&gt; &gt; actually result in a Namespace solution getting adopted.
<br>&gt; &gt;<br>&gt; &gt; - Bert -<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br><br><br></blockquote></div><br>