[Pharo-project] Quasi-stateful traits?

Stan Shepherd stan.shepherd414 at gmail.com
Fri Feb 26 13:39:22 EST 2010

To test out the possibilities of using traits for refactoring, I had a go at
rationalising OmniBrowser/OmniBrowser2.

This showed up that it appears to be possible to use the current traits
implementation in a 'quasi-stateful' manner. that is, you can directly
address the variables of a trait's 'hosting' class. This is rather contrary
to my previous understanding of stateless traits. Is this normal behaviour?

I've written up the details here.


View this message in context: http://n4.nabble.com/Quasi-stateful-traits-tp1571120p1571120.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

More information about the Pharo-dev mailing list