Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Programming

Journal Journal: Stupid programming humor 5

So yesterday I was whipping up a quick script that was calling md5sum to generate hashes of files. Since I wanted to open a pipe to the command so I could snag the output, the obvious variable name popped into my head:

open (HASHPIPE, "/usr/bin/md5sum /tmp/foo |");

The opportunities to be creatively humorous are so few in programming.....

Slashdot Top Deals

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Working...