""" it's likely that adapting old code to a new context is less work than starting from square one again. """ It has been measured that changing more than 25% of software incurs more than 100% of the cost. So your mileage may vary.
Any chance you remember where that measurement came from? I could use that with a client right now, given we're discussing a major refactor of about 25%-30% of the code base.
have fun.