🔥 27 Funny Code Comments Every Developer Should Read
Thread 👇
#CodeNewbie #DEVCommunity #100DaysOfCode #freeCodeCamp
# To understand recursion, see the bottom of this file
.
. (at the end of the code...)
.
# To understand recursion, see the top of this file
// When I wrote this, only God and I understood what I was doing.
// Now, God only knows.
/* You are not meant to understand this */
// 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.
# This is becoz you messed with me the other day
if current_admin.name == "#{my_x_employer}"
sleep(1000 * 3600)
end
// Drunk, fix later.
// no comments for you
// it was hard to write
// so it should be hard to read
// Magic. Do not touch.
int getRandomNumber()
{
Return 4; // chosen by fair dice roll.
// guaranteed to be random.
}
// This code sucks, you know it and I know it. Move on and call me an idiot later.
// I have to find a better job
// I am not responsible for this code. They made me write it, against my will.
last = first /* Biblical reference */
// I can't divide it with zero, so I have to divide it with something very similar result = number/0.00000000000001
#TODO: Figure out what I’m doing here and comment accordingly.
// If you are reading this, that means you have been put in charge of my previous project. I am sorry, so sorry for you. Godspeed.
// If this code is still being used when it stops working, then
// you have my permission to shoot me. Oh, you won't be able
// to - I'll be dead...
// If this code works, it was written by Paul DiLascia. If not, I don’t know who wrote it.
long time; /* know C */
//
//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, don’t want the dance anymore
//3.7 Jek Got that dance, yuck!
//
/* Ah ah ah! You'll never understand why this one works. */
//Mr. Compiler, please do not read this.
//open lid
//
//take shit
//
//close lid
//This was clearly written under duress.
// This code worked before, but my cat decided to take a trip across my keyboard...
// I wrote this while drunk, I don’t know what it does, but if you remove it the program breaks.
// IDIOTS DON’T TOUCH WHAT YOU DON’T UNDERSTAND!!!!
If you like this content, I am 100% sure you will LOVE my highly curated newsletter ❤️
P.S You can read 20+ issues without signing up.
indieletters.com
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.
