Is it Legacy code or Foundation code?

Throwing it all away and starting completely over starts to look really, really appealing to a problem solver like myself. But let’s take a moment to be super honest with ourselves: Rewriting all of the code in a codebase is rarely a practical thing to do.