Morph>>Delete

smallsqueak.net smallsqueak at rogers.com
Fri Dec 5 19:25:40 UTC 2003


Re: Morph>>Delete
> However, I'm about 25 years too late in proposing this, 

    Chuck Moore seems to think it's never too late for innovation.
    Even his pride in the past did not seem to hinder his self 
    improvement for the future, IMHO .

    Talking of future, currently he always walk with a hiking stick :

        "I regret taking a walk without it."

    and had this to say :

        "I too used to think a hiking stick whimpy. 
        Now I'm older and wiser and have carried one 
        1,000 miles. For reasons I'd never anticipated"

            http://www.colorforth.com/stick.html


    Colortalk, any one ;-)

            http://www.colorforth.com/


    Cheers,

    PhiHo.

  ----- Original Message ----- 
  From: Andrew P. Black 
  To: The general-purpose Squeak developers list 
  Sent: Thursday, December 04, 2003 4:30 PM
  Subject: Re: Morph>>Delete


    Aaron J Reichow wrote:
    >
    > > > 2. The format for specifying a message is Class>>#message ; that is your
    > > > message should have read Morph>>#delete.
    > >
    > > Really?  I use #delete to talk about the message, but Morph>>delete to
    > > talk about a particular method.
    >
    > The convention is to use the #.  It's kind of neat actually-  do a
    > print-it on "Morph>>#delete" in a workspace- the CompiledMethod for that
    > method is returned.  #delete can be passed (a symbol), and delete cannot.

    Yes, "Morph>>#delete" is a valid Smalltalk expression and
    "Morph>>delete" is not. 


  I've always found the # symbol to be a blot on the otherwise elegant syntax of Smalltalk.  Its a bit surprising to me that Smalltalk didn't adopt a different convention, such as typing all symbols in bold face.  delete would be an identifier reference, whereas delete would be a symbol, and
          myMorph delete
  would send the message delete to the object bound to myMorph.


  However, I'm about 25 years too late in proposing this, so I don't expect that it will be adopted real soon now.


          Andrew






------------------------------------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031205/7e4721c9/attachment.htm


More information about the Squeak-dev mailing list