Comment by _ZeD_
You think of code as an asset, but you're wrong: code is a cost.
Feature is what you want, and performance, and correctness, and robustness; not code
Older code is tested code, that is known to work, with known limitations and known performances
A corollary is that if at all possible try to solve problems without code or, failing that, with less code.