[Cuis-dev] Thoughts about symbols

Martin McClure martin at hand2mouse.com
Tue Jan 28 10:54:35 PST 2025


On 1/28/25 10:43 AM, Javier Pimás wrote:

> Martin, that looks like a very nice approach. I think we might have 
> even talked about it personally in the past but my memory is fragile...
Thanks, Pocho. I'm sure we did talk about it, but it has been quite some 
time now.
>
> The selector could also know the senders, so you'd have both 
> implementors and senders in a single place without any 
> special/additional tracking.
>
Yes, I was planning to include senders in the Selector, but never got 
that far in implementation.

> It might even provide space for extension method namespaces, where a 
> same string could result in different selectors depending on some 
> context. Might be confusing to the programmer though.

Yes. Mist's design included private methods where the privacy was 
enforced, so a self-send of a selector might find the method, but a send 
from outside of the class would get an MNU. I don't think that's too 
confusing -- the lines are pretty well-defined, but other more 
complicated schemes for alternate behavior for the same message from 
different sources was something I didn't want to get into.

Regards,

-Martin



More information about the Cuis-dev mailing list