[squeak-dev] The Inbox: Traits-pre.307.mcz

Levente Uzonyi leves at elte.hu
Fri Nov 20 19:15:31 UTC 2015


On Fri, 20 Nov 2015, tim Rowledge wrote:

> Should we keep Traits? It was a neat idea that I was happy to support but it got left unfinished. Where are tools to develop & manage Traits? Where is the usage?

I always considered Traits to be a weak concept. IMHO with less effort, 
one could have created a stateful deterministic mixin system which would 
have been superior to Traits.

Andreas has replaced the original Traits implementation with his own 
"NanoKernel" variant. It's probably the simplest thing that can be 
considered as Traits.

If you need tools, then you'll have to look somewhere else. The Pharo guys 
might have come up with something over the years.

I think only Pharo and some related projects use Traits, but even there 
the use-cases are extremely limited.

>
> Unless there is a compelling reason - and subsequent effort to fill out support - I suggest we should remove them. Along with Islands. And Universes. And probably Environments too, since that has stalled without becoming a proper part of the system.

Backwards compatibility is the only reason for it to be in the image. In 
the 4.1 release, it was unloadable. We should check whether it still is.
Sadly I have to agree with you on the rest, too.


Levente

>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: IG: Insert Garbage
>
>
>
>


More information about the Squeak-dev mailing list