I'd read up on Higher Order Messaging as to me this is an application of it.
Googling for it should give you some good results, one of the hits will most 
likely be a paper co-authored by Stephane which was presented at OOPSLA 2005 if 
I'm not mistaken.

Cheers
Carlo

On 19 Mar 2011, at 3:40 AM, DougEdmunds wrote:

It was pointed out that given an instance method
 MyClass >> doSomething  
that
 MyClass do: [:each | each doSomething].
can be expressed as  
 MyClass do: #doSomething.

Can someone suggest something to read that explains the usage of #
here (#doSomething), the relation of methods to symbols, etc.  

Trying to wrap my head around it. Thanks.

-dae



--
View this message in context: 
http://forum.world.st/Method-expressed-as-symbol-used-as-argument-tp3388864p3388864.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.



Reply via email to