Possible Duplicates:
How to convince my boss to do refactoring?
How can I convince skeptical management and colleagues to allow refactoring of awful code?
How do you justify Refactoring work to your penny-pinching boss?
I have been an independent software contractor for a couple years now, straight out of university. The code-base of one of my primary on-going jobs is incredibly messy and poorly designed... or not designed. I started on this job while in university. I would like to spend some (or a lot of) time refactoring/redesigning the code. I just don't like working on this project anymore because the code is so bad.
How can I justify to the client my spending a considerable amount of time (which equals their money) refactoring/redesigning the code?
I've been refactoring little bits as I go - but the code is so wild that I think such on-going refactoring will only help so much.