'TODO: fix later' in legacy code, 2019
So that “later” still hasn’t come? lol
Found another one today. The owner quit the company too, so I just buried it.
9 answers
LOL, a TODO comment is basically just putting off your homework in the coding world.
I really relate to this... At our company, a TODO from 2017 is still alive. But if you delete it carelessly, there's always someone who asks why you deleted it lol
Is there a source? What's the basis for asserting it was 2019?
The answer is to just leave it alone. If you touch it and side effects blow up, the person who fixed it is the one who takes the blame.
Well, I don't know about that. Leaving a TODO unattended isn't exactly a virtue. If the person responsible quit, they should have at least left the history behind via git blame.
Same here... I once deleted a 3-year-old TODO, it caused an outage, and I had to roll back. Since then, even when I find one, I just quietly let it be ㅠ
If the person in charge has left the company, at least put it in the issue tracker. Nobody reads the comments. At least a ticket catches people's attention.
Just searching for TODOs and counting them is like a company health checkup. But if no one is surprised by the results, that’s an even bigger problem.
Isn't that outdated? These days, a lot of teams even enforce a no-TODO rule in their linter.