Garry Pilkington


Application Developer
Liverpool, UK

Does anybody re-write old projects?

We have finally finished our migration to SQL 2005 at the weekend. That is 2 migrations to Windows 2003 and 2 migrations to SQL 2005 as well as upgrading our main accounting package. We started on Friday evening, did the main work during Saturday and the testing Sunday, so everyone here is a bit tired now. We have not been able to undertake any development work for the past 2 months because of this upgrade, but now it is over I can get back to what I love; writing code. This lead me to wonder with all the new technology coming out of MS at the moment, what are other peoples stance with older but still useful projects. Do you re-write the old Intranet to encompass Linq etc...

As I have grown as a developer I sometimes look at my old code, shudder and think 'Why did I do it that way, this other way would have been much better.' There is such a difference as to how I code now and how I did just 3 years ago. Do you take the stance of 'If it isn't broke, don't fix it' or do you attempt to get all projects using the same technologies/methodologies, basically singing from the same hymn sheet.

When I started at my current place I wrote a fantastic (well I think) customer facing reporting suite. It runs with hardly any problems, but now I hate the code base so much and would love to re-write it. Should I bother?

Posted: Apr 16 2008, 12:18 PM by capgpilk | with 4 comment(s)
Filed under: , ,

Comments

Zakster said:

I re-write to a fault sometimes, but I usually try to make sure there's SOME measurable benefit to it, even if it's just making things easier to maintain.

# April 16, 2008 8:33 AM

Cracky said:

Rewritting is like any other part of decision making, just balance pros and cons and take a decisión. For example:

Do you have any bugs, problems, headaches due to the arquitecture design?

Do you have new specs that can't be acommodated by the old code?

Does, rewriting improves something that some client is willing to pay for?

If you cant answer yes for at least one of that question then I'd suggest not to rewrite anything.

# April 16, 2008 9:54 AM

jwasp said:

An important factor for me is 'upgrade-ability' ... Will anticipated or established requirements for a future version/release be more troublesome and full of hacks if a re-write is not done?

# April 16, 2008 12:52 PM

capgpilk said:

Thanks guys, two of these apps will be expanded on some time this year so perhaps for upgrade-ability I will rewrite parts of them.

# April 17, 2008 9:17 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)