What is that class? No comments, two single methods on Object that refer to it?
On 04 Oct 2013, at 19:27, Camillo Bruni <camillobruni@gmail.com> wrote:
What is that class? No comments, two single methods on Object that refer to it?
If you remove it, the world as we know it will end ! Seriously, I've seen this before, I also asked the same question, but no one seems to know. Sven
This is a good question I was always wondering. I think it is related to event triggered in DependentFields of Object. It triggers several events. Weak because somehow there are weak event handled without weak references, probably due to the lack of ephemerons. (in some case the activation of the event or a veryDeepCopy delete the event if it is not referenced) 2013/10/4 Camillo Bruni <camillobruni@gmail.com>
What is that class? No comments, two single methods on Object that refer to it?
On Oct 5, 2013, at 9:44 AM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Oct 4, 2013, at 7:28 PM, Camillo Bruni <camillobruni@gmail.com> wrote:
What is that class? No comments, two single methods on Object that refer to it?
unknown⦠there are far too many event systems in the imageâ¦
this is why we should have a discussion because I want to know if announcements can be used to replace triggerEvent: the problem is that you have also recurseMessage used by the diff tool. Stef
On Oct 5, 2013, at 12:28 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On Oct 5, 2013, at 9:44 AM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Oct 4, 2013, at 7:28 PM, Camillo Bruni <camillobruni@gmail.com> wrote:
What is that class? No comments, two single methods on Object that refer to it?
unknown⦠there are far too many event systems in the imageâ¦
this is why we should have a discussion because I want to know if announcements can be used to replace triggerEvent:
So we should pay attention because this is not simple. Now the fact that announcement carn handle symbol is a good news
the problem is that you have also recurseMessage used by the diff tool.
ExclusiveWeakMessageSend NonReentrantWeakMessageSend
El 04/10/2013 14:27, Camillo Bruni escribió:
What is that class? No comments, two single methods on Object that refer to it?
A WeakActionSequence is used as container for MessageSend's. It looks like is not even really weak, there is no weakSubclass: definition... You probably don't see users because it was (tipically) only used in OmniBrowser in Pharo <= 1.4. Users of the SASE (a.k.a triggerEvent) mechanism also are (or were) users. The question is, why every object should be able to register events? Think of magnitudes registering events. Object subclasses could include all the observer pattern implementations you like. Hernán
participants (6)
-
Camillo Bruni -
Clément Bera -
Hernán Morales Durand -
Marcus Denker -
Stéphane Ducasse -
Sven Van Caekenberghe