Why dirty code costs so much
The book opens with a complaint every programmer recognizes: systems that start out fast and later grind to a halt. A shortcut here, a quick hack there, and suddenly every simple change takes days, because nobody understands what already exists. Martin treats this as the main hidden cost of software development.
Picture the online store of a small company in Columbus. In the first year, the owner asks for a new promotion every week and the programmer ships it the same day. By the third year, the same promotion takes a month, because touching one spot breaks two others. The code didn't change languages, it just rotted.
The author's thesis is that mess is not a necessary evil of tight deadlines. According to him, writing dirty code is slower even in the short run, because you will trip over what you just did. Cleaning up is not a perfectionist's luxury, it is part of the job.
