maintaining-code

What tools do you use to manage old code?

Let's say you have a Java-based product out in the market. This old code needs to be maintained, i.e. bug fixes and small feature updates. What (open-source?) tools to you use to maintain old code? To track whether a patch has been applied to all relevant branches, including the main/trunk/head? To track which versions contain the fix...

If it ain't broke don't fix or upgrade it

I have to update a legacy application for a critical bug fix. I have to mention upfront that the code i am maintaining is rather bad and numerous mistakes were made that results in performance penalties. The linked-list is implemented rather badly and in some instances incorrectly. The problem goes from bad to worse where core code i...

Matching ASP.NET source code to a compiled web application

My client has a compiled ASP.NET 2.0 application that was compiled & deployed a year ago. They also have 4 versions of source code projects/solutions not under source control (stored on previous developer's workstation file system). None of the file dates appear to match one another. Is there any way to determine which (if any) of thos...

How to update old C code?

I have been working on some 10 year old C code at my job this week, and after implementing a few changes, I went to the boss and asked if he needed anything else done. That's when he dropped the bomb. My next task was to go through the 7000 or so lines and understand more of the code, and to modularize the code somewhat. I asked him how...

How to handle pressure to deliver, when maintaining legacy code?

Here's a question that has been bugging me. I'd like to think that I prefer writing elegant C++ code. — You know, well designed, clean, documented code. But, what do you do if you are under pressure to deliver and maintain large legacy code which is supposed to meet functional and, especially, performance requirements? After a while, my...