Login  Register

Re: funny idea Symbol vs. Selector

Posted by Hernan Wilkinson-3 on Aug 25, 2010; 6:24pm
URL: https://forum.world.st/funny-idea-Symbol-vs-Selector-tp2335774p2338677.html

Could you give me an example?

On Wed, Aug 25, 2010 at 3:16 PM, Marcin Tustin <[hidden email]> wrote:
But then eliminating those methods introduces a circularity problem: What if a symbol starts to be used as a selector part of the way through the life of that object? It's not a fixed property of a symbol to be, or not be, a selector.


On Wed, Aug 25, 2010 at 7:11 PM, Hernan Wilkinson <[hidden email]> wrote:
From the design point of view, I like the idea, a selector is not a symbol and we can see that clearly in the Symbol protocol, like Mariano and Gabriel said, implements messages that are related to selector behavior... Why symbols respond to numArgs:, precedence, isUnary, etc? those are a selectors responsibilities... not all symbols are selectors... so for me, it is a good idea. 
This idea brings implementation challenges of course, but nothing new :-)

On Wed, Aug 25, 2010 at 2:05 PM, Stéphane Ducasse <[hidden email]> wrote:
:)

Your previous mail was what the bee I had in my bonnet :)

Stef

On Aug 25, 2010, at 6:57 PM, Hernán Morales Durand wrote:

> Actually I think is one of the better ideas I've read in this list.
> Too bad nobody seems interested in semiotics :(
>
> 2010/8/25 Stéphane Ducasse <[hidden email]>:
>> I;m sorry that I raised a stupid idea.
>> Don;t bash people for me :)
>>
>> On Aug 23, 2010, at 10:26 PM, stephane ducasse wrote:
>>
>>> 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
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>>
>> _______________________________________________
>> Pharo-users mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users


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



--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Mobile: +54 - 11 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com


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




--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259

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




--
Hernán Wilkinson
Agile Software Development, Teaching & Coaching
Mobile: +54 - 11 - 4470 - 7207
email: [hidden email]
site: http://www.10Pines.com


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