3 ms·
I think TODOs are fine for small projects, or early code. HOWEVER: For a mature project, TODOs should be found and reviewed during the pull request. Either the
by gwbas1c 7y ago
I think TODOs are fine for small projects, or early code.
HOWEVER: For a mature project, TODOs should be found and reviewed during the pull request. Either they should be fixed prior to merge, or a ticket should be filed. (With a link placed in the TODO comment.)
In the rare case that a TODO remains without a ticket, it really should be something obscure that really doesn't need to be fixed. For example, TODOs are great for micro-optimizations or suggestions for long-term refactoring.