Refactoring to traits / Refactoring traits

Philippe Marschall philippe.marschall at gmail.com
Mon Oct 2 11:12:32 UTC 2006


2006/10/2, Alejandro Gonzalez <mr_gonza78 at hotmail.com>:
> Hello everybody!
>
> I'm starting a research on refactorings & traits as part of a project ( that
> luckily :-) could end as my thesis ).
> Since I'm a newbie, my fist step is this email.
> The idea and scope are not closed yet but at a first glance the idea is to
> add refatoring tools to Squeak for traits, but this original idea may
> slightly change since it is being defined as I get knowledge about the
> topic.
> Every paper, link, idea, resource, suggestion about this topic will be
> happily welcomed.
> For sure, as soon as I make some progress, I'll share the results with any
> interested on this thread.

The current refacotring enginge is not trait aware. It just treats
traits as classes. This is a problem if it wants to look at the
classtrait it just looks at the class Trait.

Some simple ideas for Lint rules:
- methods equally defined in trait
- missing explicit requirement

Philippe



More information about the Squeak-dev mailing list