RE: Refactoring wishlist

"Donaldson, John (GEO)" <[email protected]> Wed, 21 Sep 2011 08:17:39 +0100
Newsgroups gmane.comp.programming.refactoring
Message-ID <8A89F8BA0CF8D14BB5E18AEEBBAC36EF7249448C94@GVW1121EXC.americas.hpqcorp.net>
Danny,

Well I was asking for what you already know you have because I don’t work with those tools at the moment - to avoid giving redundant ideas.

But here is a missing one which irritates me with my current set up: something like "Extract constant to variable".
I often start by TDDing something like this:
   MyInstance.MyFunction( "xyz");
   Assert.AreEqual( "xyz", MyInstance.OtherThing());

And want to end up with:
   String input = "xyz";
   MyInstance.MyFunction( input);
   Assert.AreEqual( input, MyInstance.OtherThing());

It should work across all the same values of the string, and for other types such as ints etc.

Of course, you may already have this in Eclipse+Java.

John D.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Danny Dig
Sent: 21 September 2011 03:56
To: [email protected]
Subject: Re: [refactoring] Refactoring wishlist

On Tue, Sep 20, 2011 at 8:59 AM, Dave Rooney <[email protected]> wrote:


>  On 2011-09-20, at 9:55 AM, Donaldson, John (GEO) wrote:
>
> > Personally, I'd like "Replace PowerPoint slide by Application" - but I
> expect it's not on your list...
>

No, that one is not on my list.

I want to focus the discussion a bit. We will be implementing refactorings
for Java under Eclipse. First, because I am a contributor to the JDT
refactoring engine and I know it well. Second, because my TAs are familiar
with JDT refactorings.

Do you have refactorings for Java that you wish to get from Santa by mid
December?

Danny



>
> Dave Rooney | Agile Coach and Co-founder
> Westboro Systems - Agile Coaching, Training, Organizational Transformation.
> Blog | Twitter | LinkedIn
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Danny Dig's homepage: http://netfiles.uiuc.edu/dig/www

Motto: "Success is not for the chosen few but for the few who choose"


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



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

Yahoo! Groups Links





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

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/