Re: refactoring using parser

Richard <[email protected]>
Newsgroups gmane.comp.programming.refactoring
Organization multi-cellular, biological
Message-ID <[email protected]>
In article <[email protected]>,
    Peng Yu <[email protected]>  writes:

> I'm wondering what is the current trend in solving the
> problem that I mentioned above.

The vendors have parsers that build their own metadata from the
source files.  They use that metadata to perform refactorings.  I
think this is true for any language, its just that C++ provides
certain parsing problems that make it harder than other languages.

See my blog post "Refactoring Tools Shoot Out" for a comparison of
refactoring tools for Visual Studio
<http://legalizeadulthood.wordpress.com/2009/07/12/refactoring-tools-shoot-out/>

However, I really doubt you're going to find a refactoring tool that
is command-line based.  Most refactoring tools are built into IDEs
because they'll use the facilities of the IDE to take care of some of
the heavy lifting as well as using the UI to provide choices and
resolve ambiguity.

As for IDE vs. vi/shell, I've been using the Visual Studio IDE since
the late 90s and I find myself much more productive in Visual Studio
than I ever was from the command-line with vi/emacs.  I found Borland
C++ Builder and Xcode to be an impediment, however, so it just shows
that all IDEs are not the same.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

      Legalize Adulthood! <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/
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.