Developer's humor
Posted: Wed Nov 03, 2010 1:43 pm
Code: Select all
//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 16
//
Code: Select all
// sometimes I believe compiler ignores all my comments
Code: Select all
Exception up = new Exception("Something is really wrong.");
throw up; //ha ha
Code: Select all
// Magic. Do not touch.
Code: Select all
// drunk, fix later
Code: Select all
long john; // silver
Code: Select all
//This code sucks, you know it and I know it.
//Move on and call me an idiot later.
Code: Select all
#define TRUE FALSE //Happy debugging suckers
Code: Select all
long long ago; /* in a galaxy far far away */
Code: Select all
# To understand recursion, see the bottom of this file
Code: Select all
# To understand recursion, see the top of this file
Code: Select all
/* Please work */
Code: Select all
double penetration; // ouch
Code: Select all
//Dear future me. Please forgive me.
//I can't even begin to express how sorry I am.
Code: Select all
if(m_measures =/*=*/ --index)
Code: Select all
// hack for ie browser (assuming that ie is a browser)
Code: Select all
// If you're reading this, that means you have been put in charge of my previous project.
// I am so, so sorry for you. God speed.
Code: Select all
//Abandon all hope yea who enter beyond this point
Code: Select all
/**
* If you don't understand this code, you should be flipping burgers instead.
*/
Code: Select all
// if i ever see this again i'm going to start bringing guns to work
Code: Select all
// If you delete the credits, I will fu*king kill you.
Code: Select all
/* Be a real daemon: fork myself and kill my parent */
Code: Select all
// .==. .==.
// //`^\\ //^`\\
// // ^ ^\(\__/)/^ ^^\\
// //^ ^^ ^/6 6\ ^^ ^ \\
// //^ ^^ ^/( .. )\^ ^ ^ \\
// // ^^ ^/\| v""v |/\^ ^ ^\\
// // ^^/\/ / `~~` \ \/\^ ^\\
// -----------------------------
/// HERE BE DRAGONS
Code: Select all
// This is crap code but it's 3 a.m. and I need to get this working.
Code: Select all
// Remove this if you wanna be fired
Code: Select all
// A Gorgon class - For the love of Zeus don't look directly at it!
Code: Select all
// Yes...I know this is repusive and stupid.
// But <%CompanyOwnerOrManagerToken%>, not knowing a thing about code,
// demanded I do it anyways. SO, go crap on their desk, not mine.
// K THX BYE
Code: Select all
#define TRUE rand() % 2 == 0