|
Messy Code - To refactor or not to refactor
I'm in a sticky situation right now,
A new project I took on recently has some really, really bad code.. which is saying something since this is only html.
There is so much mess it would take me about a week to completely refactor the webpage from the ground up.
The other option is to add to the messy code - and make it even more messier.
I know it's bad practice to add to bad code but if i have to refactor the code I'll probably loose my client..
Is it acceptable to add patches to the code to band-aid the situation and later on refactor the site when I have time?
|