Re: Re: Ranking of OO refactorings
Richard <[email protected]> Sun, 14 Jul 2013 12:16:23 -0600
| Newsgroups | gmane.comp.programming.refactoring |
|---|---|
| Organization | multi-cellular, biological |
| Message-ID | <[email protected]> |
In article <CAJuxmiObKOYP5Q-d2_cBV9aSu94EKgdc7Wm5Uvr9Fvr1FETWng@mail.gmail.com>,
Bill Wake <[email protected]> writes:
> Thanks for sharing, very interesting data.
Yes!
> For the original post - Another viewpoint, rather than looking for the most
> frequent refactorings would be to combine that with thinking about which
> ones that are most difficult to do manually.
Well, my question was subtly changed as this thread progressed.
I asked which refactorings do you consider to be most important.
We ended up discussing which refactorings have been most used.
While these two certainly have large overlap, there are refactorings that
I consider important that aren't appearing in the list of refactorings
that people are using (Invert If, for isntance). Also, I didn't
distinguish between local and global applications of things like Rename.
> For me, this pushes Extract Method very high - it's "partially local"
> (though more global if you look elsewhere for matching code), and tricky to
> get right (data flow, handling parameters, etc.) Martin Fowler spoke of
> this as "crossing the Rubicon" - the line that means you're doing serious
> analysis.
Yes, I rank Extract Method pretty high. It comes in handy when
dealing with Long Method smell.
> Unfortunately, C++ is a very complex language syntactically and
> semantically. That has really made it hard for the vendors to automate the
> refactorings.
I think this is changing with LLVM/libClang.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
------------------------------------
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/