Definition: Code Turd
// April 7th, 2006 // My Stuff, Technology Bits
In a major enterprise system we pay a lot of money for, a recent patch threw us an error based on the following line of code in a shell script:
echo "I am what is running, this is linux" >> /home/ban7/jobsub/for_whatever_purpose.txt
This line was not conditional and was ironically being run on a Solaris system, not Linux. Our DBA Jon Graton defines these little gems of “production” code as “code turds”.


