How programmers can efficiently change bugs

Source: Internet
Author: User

Our group has two programs ape, old Ape and small ape, of course, the old ape is leader. One day, the old ape said to the little ape: "You have been to our group for some time, can help leader do something?" The little ape bounded upstairs to say: "How can not?" I'd be happy to help you with your work. The old ape said happily: "Well, I'm going on a business trip recently, you run this project and see it!" Come back and I'll look. ”


The little ape took over the project and debugged it with a compiler. The program runs running, a bug makes the program stop, watching the time of a second. The little Ape embarrassed, thought: "Can I get rid of this bug?" If leader is around, ask him what to do, how good! But leader is on a business trip. The small ape to wrestling, think of the Qinghe Xugong, which is the bat, so the small ape Q of Xugong, and the bug sent to Xugong, asked: "Xugong, please tell me, this bug, I can change it?" "Xugong said:" This bug is very simple, a mouthful of rice kung Fu, you can get rid of! ”


The little ape listened to Xugong, immediately ran to the computer side, is preparing to change. Suddenly, the other group has not graduated from the intern bin bin suddenly killed! Stop him shouting: "Ape brother!" Do not change the bug, do not change the bug, you will be the whole death of this bug! The little ape was surprised to ask: "Is this bug difficult?" "Bin-bin earnestly said:" The difficult very mile! Two days ago, our group another intern ningning, is because change this bug, the result bug more change more, finally can't tell the boss! The resignation is gone! The little ape quickly took the hands of the keyboard and didn't know what to do. He sighed and said, "Alas! Or wait for leader business trip back to Ali ask him! ”


After two days, leader returned and asked him: "How is the program running?" The little ape said with embarrassment, "a bug has blown the program away, and I ... I can't change it. Leader said: "That bug is not very simple?" The little Ape said, "Yes!" Qing said the same thing. But Bin bin said the bug is very difficult, but also forced away his a small partner! Leader said: "Then the bug is difficult or simple?" Have you thought about what they said? The little ape bowed his head and said, "No ... Never thought about it. "Leader affectionately to the small ape said:" Children, listen to others, they do not think, do not change to try, is not, the bug is difficult is simple, you go to change a try, you know. ”


The little ape returned to the station, just ready to debug the program, Bin Bin shouted again: "How?" You don't want to die!? The little Ape said, "Let me try it!"   "He stepped into the single-step debugging and was careful to get rid of the bug. The original bug is neither as simple as Xugong said, nor as difficult as bin bin says.






  Program Ape-Satin Series:

How to judge two engineers who have a strong code ability? Adapted

How programmers can efficiently change bugs

  


How programmers can efficiently change bugs

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.