Brandon Savage: Hating Old Code Is a Sign Of Growth
Hating old code is a sign of growth. Note: Brandon Savage is a PHP developer whose newsletter “Modernization Tips in under 100 words” holds a wealth of ideas for developers of all stripes. From time to time, I repeat some of these here, attributed to Brandon, of course. In late 2021 I took a hard look at some code I wrote back in 2013. I hated it. The design was all wrong, it didn’t follow best practices or good standards, and it was a mess. A product of its time, sure: there were no type hints, no return value definitions, and no …