<br><br><div class="gmail_quote">On Fri, Oct 12, 2012 at 2:27 PM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 12 October 2012 17:42, Chris Cunnington<br>
<div class="im">&lt;<a href="mailto:smalltalktelevision@gmail.com">smalltalktelevision@gmail.com</a>&gt; wrote:<br>
&gt; On 12-10-12 12:26 PM, Frank Shearar wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 12 October 2012 17:21, Chris Cunnington<br>
&gt;&gt; &lt;<a href="mailto:smalltalktelevision@gmail.com">smalltalktelevision@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ve been looking at MetaObjects&#39;s [1] decade old implementation of the<br>
&gt;&gt;&gt; vm<br>
&gt;&gt;&gt; in Cocoa. It has a class called SqueakInterpreter.h that defines a<br>
&gt;&gt;&gt; protocol<br>
&gt;&gt;&gt; that is used in SqView. The selectors are listed in SqueakInterpreter.h<br>
&gt;&gt;&gt; but<br>
&gt;&gt;&gt; implemented in SqView.m. I believe this kind of thing is now called a<br>
&gt;&gt;&gt; category in Objective-C-ese. And I was wondering why somebody would do<br>
&gt;&gt;&gt; this?<br>
&gt;&gt;&gt; We don&#39;t separate the protocols from the classes in Smalltalk. And I<br>
&gt;&gt;&gt; think<br>
&gt;&gt;&gt; the reason is we use abstract superclasses. And we have deep user<br>
&gt;&gt;&gt; developed<br>
&gt;&gt;&gt; hierarchies.<br>
&gt;&gt;<br>
&gt;&gt; Protocols allow you to say &quot;these messages, unrelated by inheritance,<br>
&gt;&gt; nevertheless both understand these sets of messages&quot;.<br>
&gt;<br>
&gt; There&#39;s something dicey about this wording, I feel. Messages don&#39;t<br>
&gt; understand messages. Objects do. &quot;These objects, unrelated by inheritance,<br>
&gt; nevertheless both understand these sets of messages.&quot; Perhaps?<br>
<br>
</div>Er yes, that&#39;s what I had _meant_ to type.<br>
<br>
(But of course Message instances are objects, and understand messages :) )<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div> </div></div>Absolutely. I knew there was a wrinkle I wasn&#39;t seeing. :)<br>
<br>Chris <br>