Reputation: 24108
I have a bit old project that I would call legacy.
Some characteristics of it are:
The problems with this project are:
I would like to hear any recommendations/tips on how to deal with this project.
Should I continue working in that environment?
If NOT, what is the best way to migrate the whole project BUT within days (delay in weeks is too long ATM). Yes, I understand it will pay off later, BUT I can't do that NOW.
Generally any suggestions are welcome.
Cheers,
Dmitriy.
Upvotes: 2
Views: 582
Reputation: 564631
I'd migrate and refactor slowly, in small steps. My suggestions, in order, would be:
Other than changing the IDE, everything else can be done in very small steps, on small portions of the codebase, via standard refactoring practices. No all out rewriting should be necessary.
Upvotes: 3
Reputation: 17939
Well, given your available time span, I'd suggest you keep the code and use it. But whatever you're changing or making new, make sure you write the code in the best manner you can.
Usually, when you do this, the project gets better as time goes by, 'cause once in a while you'll probably be changing some "dirty" part, and hey, that's one less "dirty" part in your code :). In the long term, you should have a cleaner and better written code.
As for IDE changing, I tend to agree with Martin. it shouldn't be THAT hard to migrate to another one. But I'd suggest doing it after this first small time span you mentioned (unless you're a risky guy).
Upvotes: 2
Reputation: 127497
If the code is only three years old, it's not legacy yet. It's IMO wasteful to redo things in a different way every three years (or even every five years).
OTOH, it should be possible to replace the IDE with a different one with comparably little effort.
Upvotes: 2