Plotting the source code “TODO” history of the most popular open source projects
61–70 of 114 posts
Re: Plotting the source code “TODO” history of the most popular open source projects
#62I wonder what other strings people use like this. So far I have seen FIXME TODO HACK XXX BROKEN.
At work we use "TODO(JIRA-XXXX):", where JIRA-XXXX is the Jira ticket for the TODO. Every TODO needs an accompanying Jira ticket. Otherwise it won't pass code review.
[edit: reasonable answers below, thanks!]
Re: Plotting the source code “TODO” history of the most popular open source projects
#63Re: Plotting the source code “TODO” history of the most popular open source projects
#64Just today I announced a sweep through all of the TODO's and to either turn them into issues, stories or remove them. Biggest problem in Xcode is that it clogs up the warning list and the real warnings get swamped by them. But it's funny to see that Rust has less outstanding TODO's than our brand new 45KLoC project.
TODOS are great documentation. They often reveal design decisions, suboptimal implementations and the thought process of the creator. This information is often completely lost in issues that noone will ever look at again. I also like to do TODO sweeps, but with a bias towards rewriting the into documentation or leaving them in if the are actionable.
NOTE: Attempting to re-synchronize here would cause an infinite loop because...
This prefix distinguishes such info from normal comments, which exclusively pertain to the code-as-written.Re: Plotting the source code “TODO” history of the most popular open source projects
#65Earlier quoted context omitted.
At work we use "TODO(JIRA-XXXX):", where JIRA-XXXX is the Jira ticket for the TODO. Every TODO needs an accompanying Jira ticket. Otherwise it won't pass code review.
If it's got an accompanying JIRA ticket, what do you experience as the value of also including the `TODO` in a source comment, over just the jira ticket alone? [edit: reasonable answers below, thanks!]
Re: Plotting the source code “TODO” history of the most popular open source projects
#66Earlier quoted context omitted.
At work we use "TODO(JIRA-XXXX):", where JIRA-XXXX is the Jira ticket for the TODO. Every TODO needs an accompanying Jira ticket. Otherwise it won't pass code review.
If it's got an accompanying JIRA ticket, what do you experience as the value of also including the `TODO` in a source comment, over just the jira ticket alone? [edit: reasonable answers below, thanks!]
Re: Plotting the source code “TODO” history of the most popular open source projects
#67What about amount of TODOs per character or line of code?
Re: Plotting the source code “TODO” history of the most popular open source projects
#68Re: Plotting the source code “TODO” history of the most popular open source projects
#69I don't know wether to suspect that's because it has
a) an overly parliamentary development process that just creates lots of bookkeeping side affects
b) a very aspirational development community that is busy writing tons of "try to take over the world" goals to improve in various and sundry ways
c) indicates a lot of short sighted/highly focused language evolutions that leave a long trail of todos because that kind of "we have no big picture" creates a lot of corner/edge cases that need "todo" signs to document them
d) something else?
Re: Plotting the source code “TODO” history of the most popular open source projects
#70Interesting that some of them don't grow, or don't grow much, over time. Someone at PostgreSQL and Django is actually reading and fixing the TODOs.
While it's probably the case for postgres or Django, todos getting less could also mean high code churn.