News for hackers. Stuff that matters.
Re:Auto-expiring TODO notes in Ruby by Ruud-v-A on Saturday May 17, 2014 @10:06AM (#7760146)
Why put the date in the comment itself? Just ask source control when the line was introduced, and set a max age.
Re:Auto-expiring TODO notes in Ruby by andywaite on Saturday May 17, 2014 @10:55AM (#7760289)
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?
Re:Auto-expiring TODO notes in Ruby by dbuxton on Saturday May 17, 2014 @11:12AM (#7760339)
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!