> Even if old code is hard to read, poorly documented, and not the most efficient, it is often faster to use old validated code than to write new code.
Amen. A one-character mistake might take a week to find as it exhibits only subtly wrong behavior (e.g. wrong grid convergence rate, overly noisy boundary condition, odd symmetry breaking beyond IEEE floating point). During that week no science happens.