-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always have a link to a GitHub issue for TODOS? #919
Comments
Speaking from experience, finding a complicated TODO with no followup has been a frustrating experience (especially when trying to learn a new codebase). In my opinion, it should be common practice to link to a task to follow up on any TODOs we write. When someone happens upon code with a TODO without an issue, it requires more inference and sleuthing to determine what the next steps should be. It also allows us to link issues in the codebase with issues in our tracking systems. We should retroactively link all those TODOs to tasks so they don't get lost in the shuffle and we can get people looking at them and decide whether they are worth it or not (And if we determine they are not worth it, it would be cool if we could link the TODO comments to the tasks to strategically delete them). |
Definitely agree :)
…On Tue, Apr 11, 2017 at 10:16 PM Will Hughes ***@***.***> wrote:
Speaking from experience, finding a complicated TODO with no followup has
been a frustrating experience (especially when trying to learn a new
codebase).
In my opinion, it should be common practice to link to a task to follow up
on any TODOs we write. When someone happens upon code with a TODO *without
an issue*, it requires more inference and sleuthing to determine what the
next steps should be. It also allows us to link issues in the codebase with
issues in our tracking systems.
We should retroactively link all those TODOs to tasks so they don't get
lost in the shuffle and we can get people looking at them and decide
whether they are worth it or not (And if we determine they are not worth
it, it would be cool if we could link the TODO comments to the tasks to
strategically delete them).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#919 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AECGvIgEHgiNPdNhy-Oxph7A1RS-1Xk0ks5ru9-0gaJpZM4M6DGa>
.
|
This came up re: #863
In our codebase (including gRPC TODOS), I count 97 TODOS in our non-generated golang code, almost none of which have links to GitHub issues. Should we enforce a link to a GitHub issue? I can probably codify this in linting as well.
The text was updated successfully, but these errors were encountered: