Re: refactoring using parser

Kaleb Pederson <[email protected]>
Newsgroups gmane.comp.programming.refactoring
Message-ID <[email protected]>
On Monday 23 November 2009 08:00:04 am you wrote:
> 
> In article <[email protected]>,
>     John Brant <[email protected]>  writes:
> 
> > The Smalltalk Refactoring Browser has had move method since 1997. It
> > moves the method and leaves a stub behind that forwards to the moved
> > method. If you don't want the stub, you can do inline method to remove it.
> 
> That's how Fowler describes Move Method:
> <http://refactoring.com/catalog/moveMethod.html>
> 
> Kaleb, is that what you meant by Move?

Eclipse has a "Move" refactoring that includes the following functionality depending on the context under which it's invoked:

* Move Field
* Move Method
* Move Class

I use move class quite a bit as I refine the responsibilities and start to see patterns emerge.  I use move field and move method much less often, although I'll use them occasionally as well.

--
Kaleb Pederson

Blog - http://kalebpederson.com
Twitter - http://twitter.com/kalebpederson


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.