On August 2, 2020 10:16:54 AM PDT, tbrunz <wild.id...@gmail.com> wrote:
>Thanks, Richard.  
>
>So adding #yourself is mostly needed for cases where you send #add: to
>an
>OrderedCollection (because that returns the added element instead of
>returning the collection as most expect it would)?

No.

It is used when you don't know what the last message send answers. And, *that* 
is most of the time, because even when you know the answer today, you don't 
know the future changes.


>
>I've been adding it in all cases, which I guess does no harm.

That is the correct answer. Add it unless you want the result of the last 
message send.


>
>-t
>
>
>
>--
>Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to