Support of algebraic operations on dictionaries (was: ... sets)
stephane ducasse
stephane.ducasse at free.fr
Sun Jun 17 15:19:16 UTC 2007
When damien started to use traits to write Nile (which is really cool
- please have a look and give feedback)
we talked also about the collection hierarchy which would be a really
nice candidate for traits.
I think that what would be good would be to write a new library based
on traits the same way we build Nile.
This is true that subclassing instead of subtyping introduced a lot
of problems in the collection hierarchy.
On 17 juin 07, at 08:42, Blake wrote:
> On Sat, 16 Jun 2007 06:45:35 -0700, Bert Freudenberg
> <bert at freudenbergs.de> wrote:
>
>> Anyway, I think I've made my position clear. Lets hear what others
>> think.
>
> I haven't checked it out but if Dictionary inherits from Set to
> exploit the hashing code, couldn't traits fix that?
>
>
More information about the Squeak-dev
mailing list
|