When I started last year working we were given a project with a deadline of the day before and we started out as 3(new) people and ended up being 2(new) people working on the project with different coding style :/. This being the first "big" project after uni and working with technologies not known well - Exported data from a LIMS system to Pastel - the code was not the best. Especially with the fact that we haven't found our feet by that time yet.
The application has never been used since we created it and it might be used in March somewhere, the Application work but its not very dev friendly. So ive been thinking of refactoring the code a bit. Now the problem is I will have to re-factor the code without having a dev environment to test the modified code on - Pastel expired and we don't have unit tests -
Can you recommend / give any advice to help speed up the process, because I know its going to take some time as I cant make any real changes/improvements to the code besides creating and moving methods. I am not particularly proud of this project and have created waaay better and standardized projects afterwards, so fixing up this project is also important for me.
Page 1 of 1
Refactoring (C#) fixing up the old project that's gathering up dust
#2
Posted 08 February 2010 - 08:56 PM
fluf, on 08 February 2010 - 12:50 PM, said:
When I started last year working we were given a project with a deadline of the day before and we started out as 3(new) people and ended up being 2(new) people working on the project with different coding style :/. This being the first "big" project after uni and working with technologies not known well - Exported data from a LIMS system to Pastel - the code was not the best. Especially with the fact that we haven't found our feet by that time yet.
The application has never been used since we created it and it might be used in March somewhere, the Application work but its not very dev friendly. So ive been thinking of refactoring the code a bit. Now the problem is I will have to re-factor the code without having a dev environment to test the modified code on - Pastel expired and we don't have unit tests -
Can you recommend / give any advice to help speed up the process, because I know its going to take some time as I cant make any real changes/improvements to the code besides creating and moving methods. I am not particularly proud of this project and have created waaay better and standardized projects afterwards, so fixing up this project is also important for me.
The application has never been used since we created it and it might be used in March somewhere, the Application work but its not very dev friendly. So ive been thinking of refactoring the code a bit. Now the problem is I will have to re-factor the code without having a dev environment to test the modified code on - Pastel expired and we don't have unit tests -
Can you recommend / give any advice to help speed up the process, because I know its going to take some time as I cant make any real changes/improvements to the code besides creating and moving methods. I am not particularly proud of this project and have created waaay better and standardized projects afterwards, so fixing up this project is also important for me.
Yeah, I have some advice - don't do it. Never change code (even if its just refactoring) and hand it off without testing.
#3
Posted 08 February 2010 - 09:34 PM
If it ain't broke, don't fix it.
Since you haven't touched it for a while, you might make it slightly more legible, but slightly more broken. I'd prefer hard to read code that actually works over something that doesn't.
Some of my first code is still out there, not the prettiest, but it works.
Since you haven't touched it for a while, you might make it slightly more legible, but slightly more broken. I'd prefer hard to read code that actually works over something that doesn't.
Some of my first code is still out there, not the prettiest, but it works.
#4
Posted 09 February 2010 - 07:58 AM
There you have it fluf, two guys telling you exactly what I told you - leave it. Cross the performance bridge when you get there.
#5
Posted 09 February 2010 - 09:18 AM
Thanks, I'll take your advice and leave it be until bugs arise.
Share this topic:
Page 1 of 1

Help












