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.

http://neat-sheet.com/development-blog.html/

...Stan
-- 
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.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to