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

  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Facebook (Opens in new window) Facebook
  • Share on Threads (Opens in new window) Threads
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on LinkedIn (Opens in new window) LinkedIn
  • 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

  • Canadia – day 1 – The more things change… computers are evil
  • AI isn’t fully ready to take over computers are evil
  • When laptops go bad computers are evil
  • The struggle is real computers are evil
  • Geek quote of the day computers are evil
  • Google: this app is not available in your country 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

However, you do *need* rules. Driving on the left (or the right or, in parts of Europe, on the left and the right as the mood takes you) is a rule which works, since following it means you're more likely to reach your intended rather than your final destination.
--(Terry Pratchett, alt.fan.pratchett)

Random Posts

  • [gallery] Disney Princesses as pr0n stars
  • WTF?!? It’s not even August yet!
  • You may live in Canada
  • Jurassic Parkour
  • Give me cheese, human!
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 © 2026 The beaver is a proud and noble animal.

Powered by PressBook Premium theme