[squeak-dev] The Inbox: Collections-ct.922.mcz
Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Dec 7 18:05:23 UTC 2020
IIUYC this would make it impossible to keep other changes to the dictionary after leaving the execution around method?
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von tim Rowledge <tim at rowledge.org>
Gesendet: Montag, 7. Dezember 2020 18:52:58
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] The Inbox: Collections-ct.922.mcz
> On 2020-12-07, at 9:46 AM, commits at source.squeak.org wrote:
> A new version of Collections was added to project The Inbox:
> ==================== Summary ====================
> Name: Collections-ct.922
> Author: ct
> Time: 7 December 2020, 6:46:19.160326 pm
> UUID: 633c2dcc-4586-e443-bf03-02ae9ae42ee6
> Ancestors: Collections-mt.919
> Proposal: Implements #add:put:during: as execution around method on Dictionary. This logic is not absolutely trivial, so I would not like to reimplement it again every time I need to build an execution around setter.
Possibly useful idea for this - instead of altering the original twice, how about copying the dictionary and adding to it, then simply abandoning it?
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
All computers run at the same speed...with the power off.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev