Some more newb questions

Marcus Denker denker at iam.unibe.ch
Fri Jan 27 07:35:08 UTC 2006


On 27.01.2006, at 01:01, Tom Phoenix wrote:

> On 1/26/06, Rich <rjseagraves at gmail.com> wrote:
>
>>
>
> Yes: "It seemed to make sense at the time." :-)  How would you like it
> to be done?
>

You could just #withArgs:executeMethod: for executing the #doIt, no need
to have it really installed. Lukas has send a changeset a while ago  
that does
this:

http://bugs.impara.de/view.php?id=2246

0002246: Evaluating code and #DoIt/#DoItIn:
Description
Evaluating code might leave a method #DoIt/#DoItIn: within the  
receiver class, this is not annoying for all the tools that check the  
presence of such a method but might also confuse beginners that don't  
know where this method is coming from.

Since the possibility to execute compiled methods within a receiver  
without actually adding them is possible in Squeak, the attached  
change-set makes use of the feature. This does not create a method  
called #DoIt/#DoItIn: and is about twice as fast as the old approach.

     Marcus



More information about the Squeak-dev mailing list