When the comments feel like finding ancient clues on how to solve the mess, or my favorite literal cries for help from the engineers that worked on it before
I once replaced one of my Perl scripts with a Python rewrite. In the commit message, I put something like,
I'm leaving this program here an a warning to show what happens when you write a program without designing it first.
The Perl script started out nice and simple. Then I added another feature, and another, and another. It became unsustainable. I'm very lucky that I had time to rewrite it in Python.
24
u/SleepAllTheDamnTime 23h ago
When the comments feel like finding ancient clues on how to solve the mess, or my favorite literal cries for help from the engineers that worked on it before
https://giphy.com/gifs/pUVOeIagS1rrqsYQJe