[Seaside] Re: Using traits in Squeak / Seaside - Advice sought

Philippe Marschall philippe.marschall at gmail.com
Mon Sep 17 07:15:27 UTC 2007


2007/9/17, Adrian Lienhard <adi at netstyle.ch>:
>
> On Sep 15, 2007, at 08:29 , Philippe Marschall wrote:
> >
> > Besides the tool issues there are other issues as well. There is
> > somewhere a bug in ClassBuilder and every trait in the image ends up
> > with each user twice.
>
> That's wrong. New traits don't have multiple users. There are
> existing traits in the image that have multiple users. They must have
> got there during the 3.9 process. How that happened has not been
> found out (as Philippe noted, its potentially a bug in the
> ClassBuilder). As said earlier, rehashing those sets gets rid of the
> duplicates.
>
> > Also copy class doesn't work correctly for
> > traits.
>
> The problem here is that also methods from traits are copied, but
> like the bug above, its not a show stopper.
>
> > It's likely that there are more bugs like this.
>
> Right, but we woun't find them if we wait using traits.

It's just the question whether you want to be the one who spots them
in your production project and wait for a fix.

Philippe

> In my
> oppinion, the implementation of traits is stable enough for real use.
> I mean, part of the Squeak kernel is implemented with traits...
> Rather a limiting factor is UI support. Although various pleople have
> been working traits aware tools and extensions, there is missing a
> coherent and maintained package.
>
> Adrian
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list