Am 22.08.2013 um 20:29 schrieb Johan Fabry <jfa...@dcc.uchile.cl>:

> 
> Norbert, do you want to be able to programmatically add and remove traits at 
> runtime? I wrote a small utility for that a while ago that still works OK 
> (All tests are still green in 2.0). See 
> http://www.squeaksource.com/TraitsApplication.html 
> 
> Hope this helps.
> 
Thanks. My high hopes were to get something to tweak behavior composition on an 
object base. I did not have a look at TraitsApplication, yet. But it sounds 
like it operates on behavior. The background of my inquiry is just a thought 
experiment. Thinking about it I might get away with a hacked version of cloning 
classes, adjust the trait composition and reassign the class of the objects I 
need to work on.

Norbert

> On Aug 22, 2013, at 1:19 PM, Norbert Hartl <norb...@hartl.name> wrote:
> 
>> 
>> Sad. You know I was not asking about trait but about runtime composable 
>> behavior. I'm not sure what you mean with "traits are static". If traits are 
>> static in pharo that's fine. If you think traits are static by design then I 
>> was looking for something that has a different name :)
> 
> 
> 
> ---> Save our in-boxes! http://emailcharter.org <---
> 
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
> 
> 


Reply via email to