And you can put it as an specific application of High order programming (high order functions, high order predicates...). I can suggest you to learn Haskell too <3 :D Guille On Sat, Mar 19, 2011 at 5:11 PM, Carlo <snoobabk@yahoo.ie> wrote:
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-tp3388864p... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.