Next | Twelve Talks in One | 5 |
if (! -e ".bak/$filename" || system("cmp -s $filename .bak/$filename")) { print STDERR "*"; push @SLIDES, $filename; }
I had a big argument with some folks on IRC about this
They said "Calling cmp all the time is wasteful"
"You should maintain a file with MD5 checksums for each file"
My opinion:
Writing a lot of MD5 garbage when cmp works just fine is even more wasteful
Sufficient unto the day is the evil thereof
The Extreme Programming folks say:
Do the simplest thing that could possibly work.
More Details | Copyright © 2003 M. J. Dominus |