Software developers are a whimsy bunch. Sometimes, the long hours and tiredness makes your brain go bye-bye. This is the result:
/** * For the brave souls who get this far: You are the chosen ones, * the valiant knights of programming who toil away, without rest, * fixing our most awful code. To you, true saviors, kings of men, * I say this: never gonna give you up, never gonna let you down, * never gonna run around and desert you. Never gonna make you cry, * never gonna say goodbye. Never gonna tell a lie and hurt you. */ // // 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 = 42 // //When I wrote this, only God and I understood what I was doing //Now, God only knows stop(); // Hammertime! //Dear future me. Please forgive me. //I can't even begin to express how sorry I am. //private instance variable for storing age public static int age; options.BatchSize = 300; //Madness? THIS IS SPARTA! //I am not sure why this works but it fixes the problem. //This code sucks, you know it and I know it. //Move on and call me an idiot later. // I am not responsible of this code. // They made me write it, against my will. // drunk, fix later #define TRUE FALSE //Happy debugging suckers
I’m probably guilty of a few similar ones myself. Makes me giggle :)
Current Mood: Amused