Code Comments That Will Make You Laugh

Code Comments That Will Make You Laugh

The purpose of adding comments is to make the source code easier for humans to understand. In this article, I’m going to show the funny side programmers. This is part 3 of the funny code comments series.

Image for postPic by Arnold Francisca from Unsplash.com

The purpose of adding comments is to make the source code easier for humans to understand. In this article, I’m going to show the funny side programmers. This is part 3 of the funny code comments series.

Here you go. Read for Fun —

stop(); // Hammertime!

__inline BOOL
SearchOneDirectory(
      IN  LPSTR Directory,
      IN  LPSTR FileToFind,
      IN  LPSTR SourceFullName,
      IN  LPSTR SourceFilePart,
      OUT PBOOL FoundInTree
      )
{
 //
 // This was way too slow. Just say we didn't find the file.
 //
 *FoundInTree = FALSE;
 return(TRUE);
}

// If you're reading this, that means you have been put in charge //of my previous project. I am so, so sorry for you. God speed.

/* where the world ends */

// For the sins I am about to commit, may James Gosling forgive me

Exception up = new Exception("Something is really wrong.");
throw up;  // ha ha

// I dedicate all this code, all my work, to my wife, Darlene, who //will have to support me and our three children and the dog once it //gets released into the public.

/*
 * 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.
 */
## To understand recursion, see the bottom of this file 
At the bottom of the file:## To understand recursion, see the top of this file

while(1)
    {
        /* Wait here until god of death
         * came for us. */
    }

stop(); // Hammertime!

__inline BOOL
SearchOneDirectory(
      IN  LPSTR Directory,
      IN  LPSTR FileToFind,
      IN  LPSTR SourceFullName,
      IN  LPSTR SourceFilePart,
      OUT PBOOL FoundInTree
      )
{
 //
 // This was way too slow. Just say we didn't find the file.
 //
 *FoundInTree = FALSE;
 return(TRUE);
}

// If you're reading this, that means you have been put in charge //of my previous project. I am so, so sorry for you. God speed.

/* where the world ends */

// For the sins I am about to commit, may James Gosling forgive me

Exception up = new Exception("Something is really wrong.");
throw up;  // ha ha

// I dedicate all this code, all my work, to my wife, Darlene, who //will have to support me and our three children and the dog once it //gets released into the public.

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

/// <STERNLY-WORDED-WARNING>
/// Pay attention to this or I will hunt you down.
/// ...
/// </STERNLY-WORDED-WARNING>

// 3.4  JeK  My manager promised me a lap dance if I can fix this //release
// 3.5  JeK  Still waiting for that dance from my manager
// 3.6  JeK  My manager got changed, the new manager is hairy, dont want the dance anymore
// 3.7  Jek  Got that dance, yuck!

// drunk, fix later

#define TRUE FALSE
// Happy debugging suckers

// I am not sure why this works but it fixes the problem.

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

// Catching exceptions is for communists

web-development startup technology programming software-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

Software Developer vs Web Developer | Difference Web Developer & Software Developer

Software Developer vs Web Developer | Difference Web Developer & Software Developer | Software development and web development are normally used interchangeably. Although both include development, a software developer has different responsibilities from that of a web developer.

ERP Software Services, POS Software Services , Application Development

Vinew Technologies focused majorly over ERP Software services and POS Software services, Web & Application development services & Woo commerce and Wordpress easy-to-use, multipurpose social media plugin for WordPress.

5 Core Criteria for Selecting Software Development Company - TopDevelopers.co

Check out these five criteria for the selection of your software vendor, and you will never regret having the wrong quality product made for you.

Offshore Software and Web Application Development Company- MobiWeb Technologies

Mobiweb Technologies is a prestigious IT company headquartered in Indore providing promising and cost effective software and web development services across the globe.