Ideas for a refactoring with traits?

Alejandro Gonzalez mrgonza78 at gmail.com
Thu Sep 6 11:36:51 UTC 2007


Hi,
  I'm working in trait aware refactorings, and I reached a point in which I
have to use them so as to give them a try in real cases and see how suitable
they are or see what other features should be nice to have.
  I'm wandering through the image looking for good candidates to apply
traits. I started (and I already finished)  with Magnitude and a few
particular classes. Now it's time for another refactoring a little more
ambitious, but not many ideas have came out of my mind so far :(
  Stream and Collection (I know the latter was already refactored) are good
candidates, I'll start looking at them, but I was wondering if there wasn't
other projects/frameworks like Seaside, Magritte, Morph? or something else,
that could benefit from traits.
  I'm not looking to implement something with traits from scratch, I just
want to take a set of classes, methods (or traits, why not) and restructure
code by applying refactorings instead of doing it manually.
  Anyone having an idea, please let me know it. Just name a class and a
couple of methods you know are spread across several classes and where you
think traits would help, and I'll figure out what and how to refactor.
  Thanks in advance
  Alejandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070906/d18b55c8/attachment.htm


More information about the Squeak-dev mailing list