It always strikes me why some concepts are thought and included as
innate (like Time) and others not (like Space). This is the same for
Reference and Meaning. This is the part when the human takes part of
the system, try to infer the use of the following undocumented method

>>doSomething
       ^ #beActive

you cannot tell if it is intended to use as an selector or not, even
Active doesn't tell us anything about the reference (active? who?
self?) or the meaning (active a state right? which one?).

Looking at both classes:

Symbol doesn't carry a meaning (because it is used as a Sign)
Selector does carry a meaning (because it is used as Significantum)
and Smalltalk serves as the mediator between the naming and its usage.

Looking at the instances

aSymbol includes a name, could be meaningless, possibly without a
reference, say #ewrewrjew (or we may not recognize if actually have a
reference)
aSelector includes a name plus an idea, probably with a reference
(which is its the raison d'être).

You could "solve" the impractical problem of modeling the roles just
using new names: Create a class Sign which could be used as Name or
Selector or both. Having a Selector class only serves (to me, and now
:) if one wants to ask things like

#name senders (exception, name is not used as sender)
#name implementors (idem)
...
#selector senders (answer a list of references where selector is used as sender)
#selector implementors (idem as implementors)
#selector events (idem for named events)
#selector isSender ...

and get the answers faster than the tools today.
But the last case is a proof (why not Event class?) that the same way
we may model universals... so it's really a question of efficency and
usefullness, that's one of the reasons why humans are included in the
system, we cannot dream of modelling everything.
Cheers,

Hernán

2010/8/23 stephane ducasse <[email protected]>:
> Hi guys
>
> I'm thinking aloud...
> I was wondering if we could not take advantage of a new class: Selector.
> MethodDict would only contain selectors and not symbols.
>
> I remember that I talked about that with hernan.
>
> Stef
>
>
> _______________________________________________
> Pharo-users mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>

_______________________________________________
Pharo-users mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users

Reply via email to