Programmer Source Code Commenting

This past year I’ve been learning so much about coding. Every level coder knows how much time is spent putting into this field. Wake up, enjoy some java, research, study, practise like your head is going to come right off, nights with weird sleep schedules, wake up and you do it all over again.

I came across some funny coding comments that I thought would be fun so here I share some with you:

stop(); // Hammertime!

// This is crap code but it’s 3 a.m. and I need to get this working.

<//
// 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

// TODO: not this

long long ago; /* in a galaxy far far away */

// Hocus Pocus, grab the focus
winSetFocus(…)

// I’m not sure what I did

//If you even THINK of changing this code, you may have already gone //too far

/*

** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.

*/

//Mind boggling, gibberish version of a SQL statement, but it //work’s, so dont touch it

doRun.run(); // … “a doo run run”.

//When I wrote this, only God and I understood what I was doing
//Now, God only knows

// remove this if you wanna be fired

/*

  • You may think you know what the following code does.
  • But you dont. Trust me.
  • Fiddle with it, and youll spend many a sleepless
  • night cursing the moment you thought youd be clever
  • enough to “optimize” the code below.
  • Now close this file and go play with something else.
    */

return 0; // Happy ending

I’m really looking forward to projects. Commenting or coming across something funny on a frustrating code seems like a lot of fun and I CAN’T WAIT to start!!

Enjoy your day!