Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
TazeTSchnitzel
· 12y ago · 0 comments
Why a function? I hoped it would just parse comments.
Comments
[–]
michaelmior
12y ago
Likewise. I think I'd rather have this as part of the build process. This would also make it easier to have a tool which works across languages.
[–]
andywaite
12y ago
I think that's a good idea. Perhaps based on a standard format such as '# TODO 2014-01-01 Fix me' ?
[–]
Ruud-v-A
12y ago
Why put the date in the comment itself? Just ask source control when the line was introduced, and set a max age.
[–]
andywaite
12y ago
Interesting idea, but I'm not sure if that would be possible for all cases, for example what happens if the part of the line before the comment changed?
[–]
dbuxton
12y ago
Fantastic idea and what I thought when I saw this post; I'm slightly surprised that nobody has produced a git one-liner to achieve this yet!