On 6 sept. 2014, at 14:15, stepharo <[email protected]> wrote: > Hi marcus and camille > > I tried to identify the changes in announcer byt comparing two images but I > could not get it. > Could you let me know what you change?
Method announcements were not in a hierarchy and had duplicated APIs. I made a hierarchy and removed a lot of useless ivs in each: protocol, methodClass, selector (most of the time it can be retrieved from the method). It permitted me to reduce the number of arguments needed and remove many useless methods (see protocol triggering of SystemAnnouncer). Senders of these triggering methods become a bit simpler (usually big methods). BTW, for system announcements we discussed that all: SystemAnnouncer uniqueInstance when: AnAnnouncement send: #something: to: self could be rewritten: AnAnnouncement send: #something: to: self well maybe with another name... Announcements would just need to implement #announcer. Camille > > Stef >
