[ANSI-Smalltalk] A list of interesting methods, not present in the ANSI standard

Paolo Bonzini bonzini at gnu.org
Mon Mar 17 08:03:14 GMT 2008


Andres Valloud wrote:
> Hello.
> 
> I decided to go after the messages in Object first.  Out of the list, 
> which I reproduce below,
> 
> Object class>>initialize
> Object>>=
> Object>>==
> Object>>addDependent:
> Object>>allOwners
> Object>>become:
> Object>>broadcast:
> Object>>broadcast:with:
> Object>>broadcast:with:with:
> Object>>broadcast:withArguments:
> Object>>broadcast:withBlock:
> Object>>changed
> Object>>changed:
> Object>>copy
> Object>>deepCopy
> Object>>dependents
> Object>>displayOn:
> Object>>displayString
> Object>>ifNil:
> Object>>ifNil:ifNotNil:
> Object>>ifNotNil:
> Object>>ifNotNil:ifNil:
> Object>>instVarAt:
> Object>>instVarAt:put:
> Object>>isReadOnly
> Object>>makeReadOnly:
> Object>>perform:
> Object>>postCopy
> Object>>release
> Object>>removeDependent:
> Object>>shallowCopy
> Object>>storeLiteralOn:
> Object>>storeOn:
> Object>>storeString
> Object>>update:
> 
> 
> I think the following ones are good candidates for discussion.  Since 
> the list includes = and ==, I added hash and identityHash.
> 
> Object>>=
> Object>>==
> Object>>hash
> Object>>identityHash

Actually, these are already in the standard.  My mistake.

> Object>>become:
> Object>>ifNil:
> Object>>ifNil:ifNotNil:
> Object>>ifNotNil:
> Object>>ifNotNil:ifNil:
> Object>>instVarAt:
> Object>>instVarAt:put:

These are indeed good candidates for discussion.

> Object>>perform:

This one is already in the standard, but I wanted to propose an 
extension whereby you could pass a Message to #perform: (a 
<failedMessage> in standardese).

Paolo



More information about the ANSI-Smalltalk mailing list