News for hackers. Stuff that matters.
Re:A command line refactoring tool for PHP by beberlei on Monday April 08, 2013 @05:55AM (#5510828)
The blog post shows extract method as well as a second refactoring

Edit: Also see the screenshot here for a more complex extract method refactoring: http://qafoolabs.github.io/php-refactoring-browser/

Re:A command line refactoring tool for PHP by itry on Monday April 08, 2013 @06:01AM (#5510841)
Ah, I missed the extract-method example.

Similarely to the convert-local-to-instance-variable example, to me it looks like overkill. I never had a problem, doing these things manually. But if you like doing it this way - I dont complain. To each his own.

Re:A command line refactoring tool for PHP by jasonlotito on Monday April 08, 2013 @08:31AM (#5511277)
I never had a problem doing things manually either. However, as soon as I can automate them, I do. If I can automate extract method to, in effect, a single keystroke, why not?

It's the difference between using hjkl for movement, and ignoring all the other commands vim as to offer. Why wouldn't want you to automate patterns in your work?