The program won't crash because of 39 epic wonderful code comments, but the programmer will

Source: Internet
Author: User

As a programmer, do you have any code comments that make you feel speechless and collapsed?

 

There is a similar question on stackoverflow, asking everyone which supershow comments have been seen. Many programmers have spoke about the backward comments they have seen. Let's look at them together.

 

1. Only God knows

 

 

 

 

// When I write this line, only God and I know what I am writing

// Now, only God knows

 

2. diss separated by time and space

 

 

 

 

// Somedev1-6/7/02 adds the temporary tracking function for the logon screen

// Somedev2-5/22/07 temporarily fart

 

(It seems that two programmers are diss separated by time and space)

 

3. drink too much

 

 

 

 

// If you are too busy, you will fix the bug later.

 

4. Magic. Don't touch it.

 

 

// Magic. Do not touch it.

 

5. kensen?

 

 

 

 

// You can easily tune bugs, silly X.

 

(I want to beat him through the screen)

 

6. make a mistake.

 

 

 

/*

* You may feel that you have understood the following code,

* You do not. Believe me.

* Forget it. Otherwise, you will not be able to sleep for many nights,

* I think I am very smart with this comment in my mouth,

* The code below can be "optimized.

* Close the file now and try something else.

*/

 

7. You know

 

 

 

 

// This code is really bad. You know, I know.

 

8. Read down first

 

 

 

 

// Look down and call me silly.

 

9. Fear

 

 

 

 

// I am not sure whether we need this, but I am afraid to delete it.

 

10. What should I do?

 

 

 

 

# To understand recursion, move to the bottom of this file

 

Go to the bottom of the file:

 

# To understand recursion, move to the top of this file

 

11. I am not responsible for this code

 

 

 

 

// I am not responsible for this code,

// What they asked me to write is not voluntary.

 

12. I am not

 

 

 

 

// Do not write comments to you

// This code is so hard to write

// You have to read it.

 

13. No error. I did not write it if it is not easy to use.

 

 

 

 

// If this code runs, it is written by Paul dilascia. If you cannot run,

// I don't know who wrote it.

 

14. No problem

 

 

 

 

// There is no problem with this formula. Do you want to calculate it yourself?

 

15. I will ask if you are not satisfied with the service.

 

 

 

 

// If you want to be fired, delete it.

 

16. Live well

 

 

 

 

// If I read this line of code in the future, I will return and thank you for your death.

 

17. I would like to dedicate this code to my wife.

 

 

 

 

// I would like to dedicate this Code and all my work to my wife Darlene,

// If this code is released,

// She needs to take care of me and have three children.

 

(The sub-line is that your code is too bad to write, it will lose your job or cause the company to collapse)

 

18. I have less books. Don't lie to me.

 

 

 

 

// Do not delete this line of comment. If you delete the program, it will crash.

 

19. endless hatred

 

Put on a big trick, there is such a script on GitHub, the front is good, it is normal, the middle of the author suddenly commented on Adobe PSD to a large part of the crazy vomit:

 

 

 

 

 

// At this point, I have to tell you about this adobe PSD format.

// PSD is not a good format. It is not even a bad format. It is called a bad format.

// An insult to bad formats such as PCX and JPEG. No, PSD is a bad format.

// I have been busy with this code for several weeks, and I hate PSD,

// Like the anger of millions of suns.

// If there are two different ways of doing things, PSD will try both.

// Then come up with three or more methods that are unimaginable to normal people,

// Try them all. PSD has elevated "contradictions" into an art. For example,

// Why does it suddenly decide that these specific blocks are aligned with 4 bits, and this Alignment Method

// Shouldn't it be included in the size? Blocks in other places are either not aligned,

// Either the alignment is included in the size. This is not included here.

// Either of the three methods is acceptable. Only one normal IQ format is used,

// Of course, three PSD methods are used, and more than three PSD methods are used.

// Get the data from the PSD file, and you will be killed by a crazy freshwater shark on your 58-year-old birthday.

// The old uncle's house wants to find something nice in the attic.

// Using sharks is not the point I want to express, but I am thinking hard,

// What is the funny life of those who make such a file format.

// Before that, I want to find the latest instruction in this file format.

// For this reason, I have to apply for a license from them before they will consider sending me

// This sacred "secret ". You have to fax them the whole process.

// Copy of some files, or you may have to sign a secret agreement.

// I can only think that they make this process so complicated because

// They make such disgusting things, and they are ashamed of themselves. I naturally don't

// Follow the process as they mean. But if I do

// In this case, I will print every page of the manual,

// A fire burned it. If you have super power,

// I will collect all copies of the Manual,

// Put it on a spaceship and send it directly to the sun.

//

// PSD is not my favorite file format.

 

It seems that it is really intolerable. After this paragraph, the author continues to write the script calmly.

 

The script address:

Https://github.com/zepouet/Xee-xCode-4.5/blob/master/XeePhotoshopLoader.m#L108

 

20. Add a line of comment to the end of the new employee silently: the total time wasted here = 48 h

 

 

 

 

21. New people don't need to try again when they see such comments. Thanks to their predecessors.

 

 

 

 

22. Even if the system stops running, this bug still exists.

 

 

 

 

23. I can only say that the next company is really miserable. How much blame is there?

 

 

 

 

24. The entire website collapsed ......

 

 

 

 

25. Dare to curse the boss so much. I respect you as a man.

 

 

 

 

26. You cannot understand this.

 

This is a UNIX kernel of the sixth version from Bell's lab. The comment statement is "you are not expected to understand this", which means you cannot understand this.

 

 

 

 

27. Poor VIP

 

Last year, the programmer of Xiami music client called the VIP customers who sent some activities as "poor VIP", causing disputes among netizens.

 

 

 

 

28. Do not explain. Check the notes.

 

 

 

 

29. Let's just remove this program from my predecessors.

 

 

 

 

30. After debugging for half a day, the new employee said he was already crying.

 

 

 

 

31. Do you have a freestyle?

 

 

 

 

32. if the customer does not read a code comment, the customer may not be aware of the Code.

 

 

 

 

33. Although there is no year-end bonus, we have many bugs!

 

New programmers are expected to be scared away. Thank you to your predecessors.

 

 

 

 

34. Even Nike tried to add an interesting pattern to their robots file.

 

 

 

 

35. Super self-informed code comments

 

 

 

 

36. pay tribute to every brave programming knight

 

 

 

 

37. Of course, the idle cool ape will make such comments

 

 

 

 

Or:

 

 

 

 

Even like this:

 

 

 

 

38. It is said that it is the basic idea for programmers to write comments.

 

 

 

 

39. Finally, I wish the Code had no bugs for developers.

 

 

 

 

Follow public account

[Pegasus]

Bytes

 

Follow the official account of the Apsara stack for future welfare, reply to corresponding keywords, pack and download learning materials, Reply to "group", and join the Apsara stack AI, big data, and Project Manager Learning Group, grow up with excellent people!

Reply to the "11" 50 Book Gift Packs: Ai/Big Data/database/linear algebra/Python/machine learning/hadoop

 

Reply to the number "12" White | Python + MATLAB + machine learning + deep Neural Network + theory + practice + video + courseware + source code, attachment download!

The program won't crash because of 39 epic wonderful code comments, but the programmer will

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.