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

Paolo Bonzini bonzini at gnu.org
Thu Mar 20 07:17:22 GMT 2008


Andres Valloud wrote:
> Paolo,
> 
> Regarding perform:, I just feel that it's not symmetric with 
> doesNotUnderstand: in that the former takes selectors and the latter 
> receives messages.  Perhaps we should have performMessage:?

Why not have polymorphism?  In the end, Message #perform: is easily 
implemented as the failure code for selector #perform:.

> Also, mustBeBoolean is missing... (the message sent by at least some VMs 
> when they try to "send" ifTrue:ifFalse: and the receiver is not a boolean).

Yes.

Paolo



More information about the ANSI-Smalltalk mailing list