当前位置:网站首页>More than 40 a joke

More than 40 a joke

2022-08-06 07:36:15mooczhimahu

Sometimes, we write some very creative comments, and some of them really have to admire the imagination of programmers.Seeing the comments below, I'm sure everyone will laugh out loud.(1)#For recursion, see end of file..(end of code...).#For recursion, see the beginning of the file(2)//Just for this code and all my work to my wife Darlene,//Because once the code was released, she had to fully support me, our three kids, and the dog.(3)// Sometimes, I believe the compiler ignores all my comments.(4)/*You thought you knew what the following code was doing.Actually you don't.Believe me.Fall in love with this code and you'll have countless sleepless nights.The moment you think you're smart enough to "optimize" the code below, the curse will begin.Obedient, close this file and go play with something else.*/(5)//I'm not sure if we need this code, but I'm afraid to delete it.(6)// Catching exceptions is a communist enterprise.(7)//If I traveled back from the future to read this code, I would go back in time and kill myself.(8)floatboat; // The boat must be able to float (float also means floating), otherwise it will sink.(9)try{} finally { // should never happen}(10)//I was forced to write this code, out of my personal will.(11)//It's really troublesome to write,// So it's cumbersome to read too.(12)//If this code works, then remember that the author is Atit Patel.//If it doesn't work, then I don't know who wrote it.(13)//If you're reading this code, it means you took over my previous project.I'm so sorry, I'm really sorry for you, and I wish you success.(14)//I was frightened yesterday,//I ran some code that didn't exist,// Today, I found that this code is missing;// How I wish this code stayed.(15)//If this code is still in use, but not working, then//I allow you to shoot me.Oh, you can't actually shoot,//Because I was dead by then...(16)/* Ultra-hot screen management packageJames Gosling, January 1980 // Copyright 1981, 1980 James Gosling //********************************************************************/-------------///| XXXX XXXX || XXXX XXXX || XXX XXX |\x/–\XXX/–|| XXX | ||| | || III I I I I I || I I I I I I |\ /– –-------/XXX XXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXX XXX*****************Watch out!!*****************Warning to all intruders:Most of the code in this moduleAre extremely twisted!Handle with care.Do you think you understand these codes?no you didn't,Take a closer look.********************************************************************/(17)// Delete this comment and the program will hang.(18)//This code is written by Sheetal, no one knows what it does, don't change it!(19)//The following code is black magic,//From some stackoverflow link.//Please don't play magic, it will hurt people.(20)//Please James Gosling forgive me for the crime I am about to commit.(twenty one)// Originally this code would work fine, but my cat decided,// take a trip on my keyboard...(twenty two)//Private instance variable to store age,public static int age;(twenty three)//I'm not sure why this code works, but the problem is fixed.(twenty four)longtime; /* learn C (it takes a long time) */(25)/Hahaha!You'll never understand why this code works./(26)//Set a breakpoint here, you will never run here.(27)//If you see this comment, my program may have succeeded.(28)//This code is rubbish, but it's 3am and I have to make a call.(29)// increment i by 1i++;(30)//Steve didn't send attributes, what a delightful idea.// Below we recreate it once with the information available.// This logic shouldn't be here, but I'm running out of patience,//That's it // TODO: wait for DAN to fix this.Wes, please don't, please don't meddle again.(31)// Times New Roman?What happened to the old Romans?(32)// returnreturn;12(33)private// Private means privacy, so no comments.function LoadIt(IntID:Integer): Integer;123(34)// Yes, this code will fail in 3001, but first I'm dead by then;// Second, we should really be using a different system by then.if (yearPart >= 01){// The disobedient bytes have been removed...}(35)/*** Implement the PaymentType interface.*/public class PaymentTypePo implements PaymentType123456789(36)/* This code is bad.TODO: change */12(37)// Wow, this if conditional statement is huge now.(38)// If you can, please forgive me!(39)// Dear maintainer:After you give up trying to "optimize" this routine,// and realize what a horrible mistake this is,// Please add your wasted time to the following statistics,// As a warning to the next person:Hours wasted here = 42//(40)#define TRUE FALSE // Debug slowly, fool(41)/** Always returns true.*/public boolean isAvailable(){return false;}(42)int getRandomNumber(){ return 5; //This value is what I get by rolling the dice,// Guaranteed to be random.}1234(43)long long ago; /* in a galaxy far far away */ (Note: Star Wars credits)1(44)stop(); // Hammertime! (Note: Stop! Hammertime is a popular lyric by American singer MC Hammer)Reference link:https://javascript.plainenglish.io/30-funny-coding-comments-to-make-you-die-laughing-aaaf90d76769From October 23rd to 24th, I went to Changsha to participate in the 1024 Programmer's Day, and enjoyed the wonderful sharing brought by the front-line technical experts, communicated and cooperated with many developers and friends, and celebrated the programmer's own holiday.The guests of the conference include Academician Ni Guangnan, Academician Gong Ke, Academician Wang Huaimin, the father of MySQL, the co-founder of Kubernetes, the CTO of RISC-V International Foundation, the co-founder of PostgreSQL Global Development Group, the CTO of MongoDB...

原网站

版权声明
本文为[mooczhimahu]所创,转载请带上原文链接,感谢
https://chowdera.com/2022/218/202208060731512220.html

随机推荐