Click here to Skip to main content
16,007,610 members

Survey Results

How much time are you spending supporting legacy code?   [Edit]

Survey period: 6 Jun 2005 to 12 Jun 2005

There's a lot of it around. How much time are you spending caring for old code?

OptionVotes% 
100%. That's all I do706.62
over 80%12411.73
60% - 80%13012.30
40% - 60%16415.52
20% - 40%17816.84
less than 20% of my time23322.04
I don't touch legacy code15814.95



 
GeneralIf it ain't broke, don't fix it... Pin
Paul Vickery9-Jun-05 22:59
professionalPaul Vickery9-Jun-05 22:59 
GeneralRe: If it ain't broke, don't fix it... Pin
Gary R. Wheeler11-Jun-05 2:23
Gary R. Wheeler11-Jun-05 2:23 
Generali just rewrite it!!!! Pin
tom_dx9-Jun-05 13:09
tom_dx9-Jun-05 13:09 
GeneralRe: i just rewrite it!!!! Pin
Marc Clifton9-Jun-05 15:08
mvaMarc Clifton9-Jun-05 15:08 
GeneralRe: i just rewrite it!!!! Pin
tom_dx9-Jun-05 16:39
tom_dx9-Jun-05 16:39 
GeneralUsing c++/Cli to gap between legacy code and new code Pin
| zvikapeer@hotmail.com9-Jun-05 10:23
| zvikapeer@hotmail.com9-Jun-05 10:23 
GeneralCode Is Like A Car Pin
Marc Clifton8-Jun-05 14:08
mvaMarc Clifton8-Jun-05 14:08 
GeneralRe: Code Is Like A Car Pin
jeremypettit9-Jun-05 11:12
jeremypettit9-Jun-05 11:12 
GeneralRe: Code Is Like A Car Pin
tom_dx9-Jun-05 16:40
tom_dx9-Jun-05 16:40 
GeneralRe: Code Is Like A Car Pin
jeremypettit10-Jun-05 4:23
jeremypettit10-Jun-05 4:23 
GeneralRe: Code Is Like A Car Pin
DavidNohejl11-Jun-05 10:15
DavidNohejl11-Jun-05 10:15 
GeneralRe: Code Is Like A Car Pin
Gary R. Wheeler11-Jun-05 2:03
Gary R. Wheeler11-Jun-05 2:03 
GeneralFor us, even VS.NET 2002 is legacy - but we still support it Pin
Anna-Jayne Metcalfe8-Jun-05 2:26
Anna-Jayne Metcalfe8-Jun-05 2:26 
With one exception (a command line tool) all of our current development is in Visual Studio extensibility.

That imposes certain constraints on us:

  • Managed code can't be used on Visual Studio 6.0 compatible products, and we're still being asked to support them (difficult, given that the extensibility interface of Visual Studio 6.0 is extremely limited. Even basic features such as toolwindow creation and clearing of output window panes are not available through the automation interface).


  • Native COM add-ins can easily support multiple versions of Visual Studio from the same binary. Even if the target platforms are limited to VS.NET 2002 onwards, managed add-ins cannot do that unless you develop in the earliest version of the IDE (VS.NET 2002, in that case). We prefer to use VS.NET 2003 for development, which adds to the case for using native code.


  • Managed development using VSIP[^] is a real slog under versions of Visual Studio prior ot Whidbey. To add to that, the VSIP SDK for Visual Studio versions prior to 2003 is not publicly available, and athough we can almost certainly get it working in 2002 by examining the 2003 interfaces, that would not be possible with managed code for the same reasons as above.


  • One of our add-ins is heavily multithreaded, and although using native code means we have to be very careful with memory useage and our use of kernel objects (leaks in both can be a real pig to troubleshoot) the memory footprint and speed more than make up for it.
Taking all this into account, our preferred platform is VS.NET 2003, with most development carried out in C++ using ATL 7 and WTL 7.5. Our target platforms are generally everything from Visual Studio 6.0 onwards, although experience has shown that if it works in VS 6.0, it will almost certainly also work in the abomination that is VS 5.0. Smile | :)

We are however planning to use C# (with NUnit or one of its derivatives) for automated testing of add-ins via the VS COM interfaces. Cool | :cool:


Anna Rose | [Rose]

Riverblade Ltd - Software Consultancy Services

Anna's Place | Tears and Laughter

"Be yourself - not what others think you should be"
- Marcia Graesch

"Anna's just a sexy-looking lesbian tart"
- A friend, trying to wind me up. It didn't work.

GeneralWhat's legacy code Pin
eggie57-Jun-05 16:51
eggie57-Jun-05 16:51 
GeneralRe: What's legacy code Pin
Gary R. Wheeler11-Jun-05 1:53
Gary R. Wheeler11-Jun-05 1:53 
GeneralRe: What's legacy code Pin
eggie512-Jun-05 5:03
eggie512-Jun-05 5:03 
GeneralDo you consider MFC legacy code? Pin
dave182857-Jun-05 12:45
dave182857-Jun-05 12:45 
GeneralRe: Do you consider MFC legacy code? Pin
Bob Stanneveld7-Jun-05 20:39
Bob Stanneveld7-Jun-05 20:39 
GeneralRe: Do you consider MFC legacy code? Pin
Gary R. Wheeler11-Jun-05 1:58
Gary R. Wheeler11-Jun-05 1:58 
General2 Developer team Pin
WillemM7-Jun-05 5:38
WillemM7-Jun-05 5:38 
GeneralRe: 2 Developer team Pin
Gary R. Wheeler11-Jun-05 2:10
Gary R. Wheeler11-Jun-05 2:10 
GeneralThe same project for the last 7 years... Pin
Daniel Turini7-Jun-05 2:56
Daniel Turini7-Jun-05 2:56 
GeneralIs VC++ 6 stuff legacy code? Pin
Nish Nishant6-Jun-05 23:05
sitebuilderNish Nishant6-Jun-05 23:05 
GeneralRe: Is VC++ 6 stuff legacy code? Pin
Bob Stanneveld7-Jun-05 0:14
Bob Stanneveld7-Jun-05 0:14 
GeneralRe: Is VC++ 6 stuff legacy code? Pin
Nish Nishant7-Jun-05 0:42
sitebuilderNish Nishant7-Jun-05 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.