[Pharo-project] withAllSubclasses -> Set or OrderedCollection

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Feb 24 03:33:28 EST 2010


2010/2/24 Stéphane Ducasse <stephane.ducasse at inria.fr>:
> this was not really my question :) I know that a tree does not twice the same node
> do you know when it changed in squeak or pharo and the reason?
>
> Stef

I return the question: so why answer a Set ?
For multiple inheritance experiments or for some tools conveniency ?

Nicolas

>
> On Feb 23, 2010, at 11:02 PM, Nicolas Cellier wrote:
>
>> The single inheritance hierarchy is a Tree...
>> I don't see any interest in answering a Set.
>> Some tools might expect a Set...
>> If so, they just have to use withAllSubclasses asSet.
>>
>> If my own tool expect a LinkedList, I ain't gonna change the Kernel
>> library for my conveniency, or am I ?
>>
>> Nicolas
>>
>> 2010/2/23 Stéphane Ducasse <stephane.ducasse at inria.fr>:
>>> Nicolas I remember that we discussed this point or a related one a while ago
>>>
>>> Squeak
>>>
>>>        Point withAllSubclasses
>>>                an OrderedCollection(Point)
>>>
>>>
>>> Pharo
>>>
>>>        Point withAllSubclasses
>>>                a Set(Point)
>>>
>>> Do you remember?
>>> I forgot?
>>>
>>> Stef
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>




More information about the Pharo-dev mailing list