Stéphane Ducasse wrote
> I’m spotting real inconsistency in the specification and use of newFrom: 

I recently thought something similar when working with ArrayedCollection. As
you say, here is yet another inconsistency because it doesn't return a
"similar object", but just copies the elements of the collection argument
into an instance of itself with the same size. There is also
ArrayedCollection class >> #withAll: which seems to do the same, but neither
delegates to the other and they have different implementations.



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply via email to