Definition: Code Turd
April 7, 2006 | 23 Comments
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”.
Tags: code, dba, definition, disk turd, jon graton, linux, programming, shell script, solaris, unix
