Re:Google's Python style guide
by minimax on Thursday April 19, 2012 @04:42AM
(#3861983)
Seems to be a Google-ism. I haven't worked there, but all the ex-Googlers I've worked with do this. It also makes it easy to grep for all your TODOs in a tree, something you can't do with cvs/svn/git annotate.
[ Parent
| on HN ]
> something you can't do with cvs/svn/git annotate.
Challenge accepted:
for i in $(git grep -l TODO); do git blame -f $i |grep TODO |grep "$NAME"; done
Granted, it can be long on a big codebase, but does the trick.