3 ms·
TODOs are fine but only if you also have associated cross linked tickets in your bug tracker. You shouldn’t ever commit TODOs in your code without a ticket numb
by arcticbull 7y ago
TODOs are fine but only if you also have associated cross linked tickets in your bug tracker. You shouldn’t ever commit TODOs in your code without a ticket number or exactly this will happen.
- MiracleUser 7y agoI wonder if there are any tools to create tickets from TODO's
- Xophmeister 7y agoI used to have a pre-push hook, I think, that would cancel the push if there were any TODOs or FIXMEs in the codebase, displaying them out nicely, with their location. I ultimately turned it off :P
- SlowRobotAhead 7y agoI think you are ignoring all OP’s points about short term memory and not getting side tracked on optimizations. The latter of which gets me all the time. So you would recommend instead of moving a long he drops what he’s doing and go link the ticket number back into code just to leave a TODO that in high likelihood is him working on eventually or not anyhow? Weird flow but ok.
- yoz-y 7y agoJust do it after you finish and before you send your code for review. Just don’t merge dangling TODOs
- arcticbull 7y agoExactly by all means have them in your working branches but track them before they hit master