[squeak-dev] Re: Ideas about sets and dictionaries

Randal L. Schwartz merlyn at stonehenge.com
Thu Nov 12 03:44:27 UTC 2009


>>>>> "Igor" == Igor Stasenko <siguctua at gmail.com> writes:

Igor> But your solution could be described as:
Igor> a) we having a basket full of differently colored balls.
Igor> b) while counting balls in basket lets count all balls, except
Igor> transparent ones.
Igor> ..and your idea:
Igor> rewrite b:  while counting balls in basket lets count all balls,
Igor> except red ones.

No, it *does* solve the problem, because "red" is very very very local
to this set.

The only problem would be if you have a set add itself's instance vars.  And
that would be problematic for other issues.

But it would always be able to represent *every* other set in the image.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion



More information about the Squeak-dev mailing list