Thread: C++ Refactoring Tools

  1. #1
    Registered User SpaceCadet's Avatar
    Join Date
    Oct 2006
    Posts
    23

    Talking C++ Refactoring Tools

    Can anyone recommend a C++ refactoring tool that might help sort out a large legacy C++ application running on Solaris?

    By large, I mean several million lines. The tool must be very good, because the legacy application is anything but!

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Refactoring tools are not meant to help you reverse engineer, understand the code, or upgrade it to the current standards.

    What you need is an IDE, a good team of dedicated programmers, a big blackboard, lots of chalk and some good UML designer.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    I find Enterprise Architect from sparx systems really good for reverse engineering large legacy apps. It will generate UML from existing code, and while it can't re-factor the code for you, at least it'll help you understand the existing code!
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  4. #4
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Quote Originally Posted by SpaceCadet
    Can anyone recommend a C++ refactoring tool that might help sort out a large legacy C++ application running on Solaris?
    I'm just learning SlickEdit's refactoring, so I can't really recommend one. But I like what I've tried thus far.

    http://www.refactoring.com/tools.html
    http://www.slickedit.com/content/view/107/81
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A few interesting tools...
    By Mad_guy in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-10-2009, 06:07 PM
  2. GNU Auto build tools
    By jmd15 in forum Linux Programming
    Replies: 2
    Last Post: 07-03-2008, 09:19 AM
  3. Refactoring browsers for C and C++
    By dwks in forum Tech Board
    Replies: 22
    Last Post: 11-25-2007, 06:23 PM
  4. Debugging tools for windows
    By 0x90 in forum C++ Programming
    Replies: 4
    Last Post: 04-03-2006, 02:21 PM
  5. Code coverage tools
    By bswole in forum Linux Programming
    Replies: 2
    Last Post: 03-20-2002, 08:16 AM