4 ms·
Then they would be lost. Comments are for understanding how something works. TODOs are for understanding how something might not work. Edit: And if you put the
by happytoexplain 1y ago
Then they would be lost. Comments are for understanding how something works. TODOs are for understanding how something might not work.
Edit: And if you put them in a tracker, they'd be distracting and confusing for team members less intimately familiar with the codebase, e.g. a PO. You could also choose a word other than "TODO", as long as it won't produce a ton of false positives in a search.
- dorian-graph 1y agoWhat does it mean to be lost? Why would a TODO comment not be lost, versus a comment without that prefix?
- marcosdumay 1y agoIf you put them in a tracker, soon enough there will be somebody asking why 90% of the issues are not being worked on, will complain if they just disappear one day, and will disappear for political reasons.
- jraph 1y ago> Comments are for understanding how something works Even better: for understanding why some code does this surprising or seemingly complicated thing it's doing