Skip to content
The beaver is a proud and noble animal

The beaver is a proud and noble animal

Notes from a bemused canuck

  • Home
  • About
  • Bookmarks
  • Pictures
  • Resume
  • Wine
  • Random Recipe
  • Toggle search form

Best code comments

Posted on January 9, 2013 By admin

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 :)

  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
uncategorized Tags:computers are evil

Post navigation

Previous Post: Hee hee hee
Next Post: Explaining the present to the past

Related Posts

  • It always works on the dev’s machine computers are evil
  • Grumble, grumble, stoopid computers computers are evil
  • Mad hax0r skillz computers are evil
  • Welcome to monday morning computers are evil
  • I can't be bothered to think anymore computers are evil
  • Meeting notes computers are evil

Power to the beaver!

Show me the beaver!
January 2013
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Dec   Feb »

Quote of the day

A marriage is always made up of two people who are prepared to swear that only the other one snores.
--(Terry Pratchett, The Fifth Elephant)

Random Posts

  • Off color dad jokes
  • We all missed the red flag
  • Post-Doctor Who?
  • TOUCHDOWN!
  • Fuck the DVLA. Seriously.
reading leopard

Tags

bobble the little blue owl boobies brought to you by the fda cats chonk christmas comics computers are evil covid-19 dealing with idiots dilbert dog ducks galleries geek god bless the land of the free holidays house I am Canadian land of cheese and chocolate linked news lolcat london news from the stupid not my dog nsfw pets pictures potd2014 qotd random shit re-member recipes relationship shrill slice of life stress Tao the british way The Peanut things i miss travel video wine work

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2025 The beaver is a proud and noble animal.

Powered by PressBook Premium theme