Journal nizo's 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
The opportunities to be creatively humorous are so few in programming.....
Analysis programs (Score:2)
True dat (Score:2)
Re: (Score:2)
I have, from time-to-time, used Rush song titles for variables/subroutines. And geddy is still one of my favorite counter variable names.
Windows version of tail (Score:2)
In a former job I was tasked to write a clone of tail for Windows. The lead wanted it set up as a DLL and he wanted a wrapper for the DLL and a mechanism to talk to it. The right solution in this case was using a pipe. The lead rode a motorcycle to work and he got involved in the naming of the internals. So.... I had TAILPIPE, backfire() (which handled exceptions), and exhaust() (data output), among other things. When it came time to make a small change to the application, someone brought it to me and asked
I work with a martial arts junkie (Score:2)
She always gives interesting names to her variables - something that kills a process is called "kicker" or the automatic sync service killer is called "ass_kicker" and so on.
Her code is rather fun to read!