473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Refactoring tool... PLEASE

Hi,

I was trying to find (like many others here) a tool for refactoring
C++ code as I have lately been noticing that I spend most of my coding
time doing refactoring
and some refactoring which I skip, due to the enormous effort it
seems to require, usually comes back to me with larger costs.
I read a few comp.lang.c++ threads over past few years regarding
refactoring tools for C++ but none had an answer.

I heard about Borland's Together for C++... has anyone here tried it?
Is it good? I downloaded the trial version (www.borland.com) but cant
get even the evaluation license, they said they will contact me for it
by mail within 2 days.. its been a week now.

Any other tool anyone knows of...
Sachin Garg
http://sachingarg.go.to
Jul 22 '05 #1
2 2080
Sachin Garg wrote:
I was trying to find (like many others here) a tool for refactoring
C++ code as I have lately been noticing that I spend most of my coding
time doing refactoring
and some refactoring which I skip, due to the enormous effort it
seems to require, usually comes back to me with larger costs.


The incidence of "enormous effort" when refactoring is proportional to the
infrequency of small refactors.

Many small refactors, as a program grows, reduce the odds of a big refactor.

C++ is too rough to support a refactoring browser. Issues such as the
preprocessor, Koenig lookup, overloaded typecast operators, partial template
specialization, and all the other happy crap that fills this newsgroup would
make the simplest refactors impossible. A refactoring browser must promise
that you don't need to run the tests after a refactor, and if a C++
refactorer could never promise that, then nobody would ever use it.

Get typing. Start with all the simplest Extract Method Refactors you can.
Refactor low hanging fruit. Don't refactor in order from hard to easy.
Refactor from easy to easy.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces


Jul 22 '05 #2
Hi Sachin,

Actually I released a refactoring tool for C++ 2 days ago. Currently it is
available for the Visual Studio .NET 2003 IDE.
There is an evaluation version if you want to try it out. The url is:
www.ideat-solutions.com/refpp

Regards,

Thierry
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Guenther Schmidt | last post by:
Hi, does anybody here know of a good tool for PHP that can aid refactoring when you're OOing? Something like a refactoring browser as in Smalltalk? Günther
0
by: Tabrez Iqbal | last post by:
Hi, If anybody knows a free refactoring tool for c++(windows or linux,stand-alone or VC++/BC++ builder etc. plug-in) please let me know. there is one on sourceforge.net but "under...
0
by: Andre Baresel | last post by:
Hello together, just a year ago I was searching arround for a tool supporting refactoring for c++. I've seen implementations for java and was impressed how an IDE can help with such a feature....
6
by: Dean Ware | last post by:
Hi, I am part way through developing a C++ application. I am developing it on my own and using VC++ 6.0. I am now at the stage where I wish to start tidying up my code. I have lots of...
15
by: Simon Cooke | last post by:
Does anyone know of any tools for refactoring header files? We're using a third party codebase at work, and pretty much every file includes a 50Mb precompiled header file. I'm looking for a tool...
1
by: Spam Catcher | last post by:
Hi all, Do you guys have a suggestion on the best refactoring tool for VB.NET? I've briefly looked at MZ-Tools. I'm currently testing out Refactor! (free MSDN SE version). Any other tools I...
13
by: Richard | last post by:
What to do when the best laid plans change and mazes of legacy are abolished, simplified, or built anew for contemporary reality. A preliminary database was developed for tracking material...
3
by: Dennis Yurichev | last post by:
Hi. How can I find some ready tool or how can I find a proper way to develope tool which will convert such code: if (a>b+2+2) { f1(); f2(a*3*2); } else {
9
by: Kowalski | last post by:
I want to move a class from one namespace to another. Do you know any refactoring tool with such a feature? -- BK
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.