Re: Refactoring wishlist

Adam Sroka <[email protected]> Tue, 20 Sep 2011 21:59:01 -0700
Newsgroups gmane.comp.programming.refactoring
Message-ID <CALaPUVeYq6td3Un0-3MBTOcwryRLy1TTMgRS8jCq1JBj_gC_ew@mail.gmail.com>
IntelliJ has both the safe delete and a usable implementation of extract
class that allows you to chose methods including changing their visibility
on the fly. I forgot the Eclipse didn't have these. They are useful.

Compose method sounds like an intriguing idea, but I fear that it would be
an example of what I was talking about – I wouldn't think to use it until I
was half way done doing it myself. But, maybe that is just me. Perhaps I
don't think as many steps ahead as some folks do when refactoring.

What I really want is a truly bulletproof implementation of the smaller
atomic refactorings, and maybe some higher level contextual ones if they
were also well implemented.

On Tue, Sep 20, 2011 at 9:46 PM, Joshua Kerievsky <
[email protected]> wrote:

> **
>
>
> On Mon, Sep 19, 2011 at 7:03 PM, Danny Dig <[email protected]> wrote:
>
> > I would like to automate many more refactorings. This semester I have
> > the man-power to do this. I am teaching the Software Engineering
> > course at UIUC with 160 students. For the class project, each group of
> > 4 students will implement a new refactoring in the Eclipse IDE.
> >
>
> Could a few of those students simply fix defects? As far as I know, the
> team working on Eclipse refactorings has been a skeleton crew for a few
> years now and the defects have been piling up. Eclipse refactorings never
> got fixed to work well with generics...and it sure would be nice to see
> that
> fixed.
>
> Beyond that, I'd love to have:
>
> * Safe Delete (as it is implemented in R#) e.g. if C inherits from B which
> inherits from A and you safe delete B, C inherits from A -- there are other
> examples that don't involve inheritance.
>
> * Replace Type Code with Class (
> http://industriallogic.com/xp/refactoring/typeCodeWithClass.html)
>
> * Extract Class -- improve the implementation to allow for extracting
> methods
>
> * Compose Method - provide a way to produce a composed method in one shot
> by
> letting the user specify the diving lines between the chunks of code that
> need to be extracted into new method.
>
> ...More coming.... too tired right now to think of all the refactorings on
> my wish list.
>
> --
> best,
> jk
>
> --
> Joshua Kerievsky
> Founder, CEO
> Industrial Logic, Inc.
> Web: http://industriallogic.com
> Twitter: @JoshuaKerievsky, @IndustrialLogic
>
>
> Amplify Your Agility
> Coaching | Training | Assessment | eLearning
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]



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

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/