3 ms·
Also, the post encourages comments saying “TODO”. I’ve yet to see a codebase where that helps anything.
by blowski 8y ago
Also, the post encourages comments saying “TODO”. I’ve yet to see a codebase where that helps anything.
- gizmo686 8y agoI've seen them be useful when used in combination with a bug tracker. That way is investigating the same problem they are likely to find out that it has already been reported. And having a todo mark a specific region of code can save time when we jump in to fix it. I have also had situations where we decided "we are releasing in a month, cut corners and we'll deal with it later", and putting in TODOs greatly help deal with it later
- kstenerud 8y agoI use TODO often in my code. It's how I mark things as incomplete but not forgotten, which means that the code should not go into production until the TODOs are handled.