Re:Write code that is easy to delete, not easy to extend
by michaelfeathers on Monday February 15, 2016 @10:24AM
(#11103804)
We put a variation of the script to music also. Seriously. It's on iTunes and Bandcamp:
https://itunes.apple.com/us/album/snippets-programming-episo...
Re:Write code that is easy to delete, not easy to extend
by voltagex_ on Sunday February 14, 2016 @07:24PM
(#11100738)
http://explainshell.com/explain?cmd=find+.+-name+%22*.rb%22+... doesn't quite get it either, but I think you're right. I'm not near a machine with Bash to check.
Re:Write code that is easy to delete, not easy to extend
by chris_wot on Sunday February 14, 2016 @10:25PM
(#11101356)
Actually, it finds all Ruby .rb files, then prints out that file every time a change was made to the file. It then does a count of each of the times the file is output, and then sorts the list with those files that were modified the most frequently being at the top, and those modified least frequently being at the bottom.
In other words, it shows (as the poster says) file churn in a Ruby codebase.
YMMV, I am not a BASH shell.