Hacker News new | past | comments | ask | show | jobs | submit login

So there may not be much awareness so this, but <strike>Ruby</strike> Rails (as noted below, the annotations or part of rails/rake) has this feature that you can add special annotations # TODO # FIXME # OPTIMIZE comments to you code, and "$ rake notes" to list them. it also allows you to have a custom annotations comments : For a full description, see : http://rubyquicktips.com/post/385665023/fixme-todo-and-optim...

Better to make a # DOBY annotation and modify the rake task to shame if the date passed. You could also add this metadata to the existing annotations. If you what to automate the shaming, write a guard gem to watch for these annotations.




This is a Rails feature, not a Ruby feature. But building something based on this could be useful.


Thanks Andy, you are correct! The annotations are part of Rails / Rake.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: