[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Object>>#do: ???

From: Stephen Compall
Subject: Re: [Help-smalltalk] Object>>#do: ???
Date: Wed, 06 Jun 2007 01:23:13 -0500

On Wed, 2007-06-06 at 00:38 -0500, Stephen Compall wrote:
> Very.  I got a distinctly bad taste in my figurative mouth when I saw it
> in RBProgramNode.

I was going to add more prose here to explain this further, but perhaps
this is better.  This is what goes through my head:

Object extend [
    basicDoesNotUnderstand: aMessage [
        <primitive: VMpr_Object_bootstrapDNU>

    doesNotUnderstand: aMessage [
        ^(Array canUnderstand: aMessage selector)
            ifTrue: [aMessage sendTo: {self}]
            ifFalse: [self basicDoesNotUnderstand: aMessage]

Array extend [
    doesNotUnderstand: aMessage [
        ^self basicDoesNotUnderstand: aMessage

;;; Stephen Compall ** **
Failure to imagine vast possibilities usually stems from a lack of
imagination, not a lack of possibility.

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]