[Cuis-dev] Added remove message from Hierarchy in the message list
Paolo Belforte
pbelforte2003 at gmail.com
Mon Mar 18 07:40:54 PDT 2024
Hi!
Just saw it, did not know about the message #withAllSubclassesDo:, it's
great!
Thanks.
El lun, 18 mar 2024 a las 10:17, Juan Vuletich (<juan at cuis.st>) escribió:
> Hi Paolo,
>
> I further tweaked it a bit and pushed to GitHub. You may want to check how
> I tweaked your code. Any comment is welcome.
>
> Thanks,
>
> On 3/17/2024 4:48 PM, Paolo Belforte via Cuis-dev wrote:
>
> Hi! Thanks for the feedback.
>
> Just changed it so it goes down to all the subclasses in the hierarchy and
> does not affect siblings classes.
> Added a message to the Behaviour class so I can remove the message in a
> more "recursive and elegant way", should I not touch any of the kernel
> classes and try again with some loops?
>
> Thanks.
>
> El dom, 17 mar 2024 a las 15:46, Juan Vuletich (<juan at cuis.st>) escribió:
>
>> On 3/16/2024 5:34 PM, Paolo Belforte via Cuis-dev wrote:
>> > Hello everyone,
>> >
>> > I've made a change to the base image of Cuis, adding this option as
>> > sometimes I feel like I could use it .
>> > When you click this option, it will remove all methods from the
>> > hierarchy, asking if you really want to do it if there are senders.
>> > You can find this option just down the "remove method (x)" option,
>> > it's the "remove method in hierarchy".
>> >
>> > Thanks,
>> > Paolo.
>>
>> Thanks Paolo.
>>
>> I like the idea, but I see a couple of issues with the implementation:
>> - You iterate over direct subclasses, not all subclasses.
>> - First you go up, then down. This means that it could delete
>> implementors that are not in the hierarchy of the selected class (for
>> instance a sibling class).
>>
>> Perhaps you can give this another take?
>>
>> Thanks,
>>
>> --
>> Juan Vuletich
>> cuis.st
>> github.com/jvuletich
>> researchgate.net/profile/Juan-Vuletich
>> independent.academia.edu/JuanVuletich
>> patents.justia.com/inventor/juan-manuel-vuletich
>> linkedin.com/in/juan-vuletich-75611b3
>> twitter.com/JuanVuletich
>>
>>
>
> --
> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240318/69cc6fa7/attachment.htm>
More information about the Cuis-dev
mailing list