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

  • The struggle is real computers are evil
  • This is why we can’t have nice things computers are evil
  • One of the best email scams I’ve seen in a very very long time computers are evil
  • Not cool, Android. Not cool. computers are evil
  • My handwriting is truly atrocious computers are evil
  • AI isn’t fully ready to take over 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

+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
--(Terry Pratchett, Hogfather)

Random Posts

  • These aren’t the droids you’re looking for
  • 50 activities every child should do before they become teenagers
  • Beachside Bean
  • I had to wear a mask and now…
  • heart-shaped boobs
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