Today I had an epiphany while looking at the codebase of a COTS (commercial off-the-shelf). Don't' get me wrong, I'm all for leveraging someone else's blood, sweat, and tear's for one-low-price. This time was different. It is the shittiest code I've everseen in a product that was purchased.
All over the place you see the following:
Nastiness #1:
//TODO: clean this up
Nastiness #2:
//$siteHeader = mysql_connect()
$siteHeader = get_site_header();
Nastiness #3 through infinity:
Code that is cryptic and forces duplication.
This is from JamitJobBoard.
Jamit, you suck. Plain and simple.