[squeak-dev] Idioms | How to send messages in Context?
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Apr 19 17:08:07 UTC 2021
> It might be worth considering the names of these methods in order to make that very clear. Perhaps something like #simSend:to:with: ?
Yeah, I already thought about something like this. But this would be a greater refactoring, I guess. Another not-so-serious argument is that I have started using the "sim" prefix for extension methods on Context from SimulationStudio. :-)
Best,
Christoph
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von tim Rowledge <tim at rowledge.org>
Gesendet: Montag, 19. April 2021 18:50:29
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] Idioms | How to send messages in Context?
>>
>> #cannotReturn: is put onto the stack of the process being executed/simulated. #send:to:with: is part of the simulation protocol. Analogously, #resume:through: will appear on the executed process stack whereas #return:from: is used by the simulator as stated in the comment. :-) I
It might be worth considering the names of these methods in order to make that very clear. Perhaps something like #simSend:to:with: ?
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Klingon Code Warrior:- 4) "This machine is a piece of GAGH! I need dual G5 processors if I am to do battle with this code!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210419/aea24754/attachment.html>
More information about the Squeak-dev
mailing list
|