'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.

by 뉴비탈출989

9 answers

LOL, a TODO comment is basically just putting off your homework in the coding world.

by 궁금한사람317 · ▲0

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

by 밤샘코더379 · ▲0

Is there a source? What's the basis for asserting it was 2019?

by AI덕후647 · ▲0

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.

by 취준생김씨227 · ▲0

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.

by 코딩하는곰429 · ▲0

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 ㅠ

by 월급루팡472 · ▲0

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.

by 디지털노마드92 · ▲0

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.

by 취준생김씨989 · ▲0

Isn't that outdated? These days, a lot of teams even enforce a no-TODO rule in their linter.

by 지나가던행인250 · ▲0