[squeak-dev] A Curious Method
casey.obrien.r at gmail.com
Mon Jul 12 07:04:00 UTC 2010
I was showing Squeak off to a friend today, and while clicking around in a
browser to show off the system's organization, I ran across this method:
pushClosureCopyNumCopiedValues: numCopied numArgs: numArgs blockSize:
"Answer the size of the block"
There's no method tag / pragma here... so why does this method need three
parameters? I see six implementers of the message, though... are the extra
params there to deal with polymorphism without blowing up? If so, that's
kind of interesting, because I hadn't recognized that pattern before.
I was scratching my head and thought I'd share:)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev