A
Andre Baresel
Better program design by continues restructuring.
Do you remember the last time you need to restructure you C++ program ?
Just three example situation every programmer knows:
- You had a better name for your class / function or variable, but however
the time which is
needed to search through your code was limited and you decided to keep the
old name ?
- One of the methods has now more than 500 lines - you know that it is too
big, but well
you have not the time to split it and create a second function and its
parameter, so that
the code complexity decreases ?
- You want to move a method up to the super class, but you don't have the
time to check if
this really works with the member variables.
Let's say the reason why all these restructurings are not applied is a limit
of time.
I have seen JAVA IDEs where all these operations just take a mouse click -
You might ask why there is no tool for C++...
Well it's a little bit more complicated but not impossible !
See http://sourceforge.net/projects/cpptool/ and help us to continue
development !
Best wishes,
André
Do you remember the last time you need to restructure you C++ program ?
Just three example situation every programmer knows:
- You had a better name for your class / function or variable, but however
the time which is
needed to search through your code was limited and you decided to keep the
old name ?
- One of the methods has now more than 500 lines - you know that it is too
big, but well
you have not the time to split it and create a second function and its
parameter, so that
the code complexity decreases ?
- You want to move a method up to the super class, but you don't have the
time to check if
this really works with the member variables.
Let's say the reason why all these restructurings are not applied is a limit
of time.
I have seen JAVA IDEs where all these operations just take a mouse click -
You might ask why there is no tool for C++...
Well it's a little bit more complicated but not impossible !
See http://sourceforge.net/projects/cpptool/ and help us to continue
development !
Best wishes,
André