Author Archive

Towards healing a fork (ab)using traits

Posted by stan shepherd February 25th, 2010

Traits seem to offer intriguing possibilities for refactoring. One situation they hint at simplifying is that where large amounts of duplicate code crop up in Smalltalk; this can occur even where the code itself is attractively written. We tend naturally to find duplicate code off-putting; it’s not the Smalltalk way.
Because traits functionality is separate [...]