<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: Morph&gt;&gt;Delete</title></head><body>
<blockquote type="cite" cite>Aaron J Reichow wrote:<br>
&gt;<br>
&gt; &gt; &gt; 2. The format for specifying a message is
Class&gt;&gt;#message ; that is your<br>
&gt; &gt; &gt; message should have read Morph&gt;&gt;#delete.<br>
&gt; &gt;<br>
&gt; &gt; Really?&nbsp; I use #delete to talk about the message, but
Morph&gt;&gt;delete to<br>
&gt; &gt; talk about a particular method.<br>
&gt;<br>
&gt; The convention is to use the #.&nbsp; It's kind of neat
actually-&nbsp; do a<br>
&gt; print-it on &quot;Morph&gt;&gt;#delete&quot; in a workspace- the
CompiledMethod for that<br>
&gt; method is returned.&nbsp; #delete can be passed (a symbol), and
delete cannot.<br>
<br>
Yes, &quot;Morph&gt;&gt;#delete&quot; is a valid Smalltalk expression
and</blockquote>
<blockquote type="cite" cite>&quot;Morph&gt;&gt;delete&quot; is not.
</blockquote>
<div><br></div>
<div>I've always found the # symbol to be a blot on the otherwise
elegant syntax of Smalltalk.&nbsp; Its a bit surprising to me that
Smalltalk didn't adopt a different convention, such as typing all
symbols in bold face.&nbsp; delete would be an identifier reference,
whereas<b> delete</b> would be a symbol, and</div>
<div>&nbsp;<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>myMorph<b> delete</b></div>
<div>would send the message<b> delete</b> to the object bound to
myMorph.</div>
<div><br></div>
<div>However, I'm about 25 years too late in proposing this, so I
don't expect that it will be adopted real soon now.</div>
<div><br></div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Andrew</div>
<div><br></div>
<div><br></div>
</body>
</html>