All are bugs.

Source: Internet
Author: User
A few new Japanese came across from me. They had an internship for about a week and they were excited. Now they can practice Japanese speaking. In the afternoon, se suddenly told me, let me talk to them about our work, business, and the use of some tools. I have not prepared yet. The Japanese have come to me, I hurried to find the tool and gave them a greeting. I started to talk about it. I was going to give a brief introduction, but who knows that my se will show it to them step by step, there is no such thing. The tools do not know how many sides have been used. However, after I opened the first tool and set it up, I could not generate any code using this tool, I tried it twice, but I still couldn't help it. I couldn't help but feel a little flustered. The se on the side was a little anxious. I asked how I did it well before, but now I can't do it now? I can only say that I do not know, and it feels strange. Fortunately, the colleagues next to me tried it on his computer, and then they listened to my colleagues.
To be honest, although this is a trivial matter, I am very upset. I have demonstrated to others so many times that there is no problem, but this is the case when an error occurs. When I was okay, I studied the small tool developed inside the company. It didn't take long for me to find out that the tool had a bug that the generated code could not be placed in the root directory, but for convenience, I just put the generated code settings under the root directory, which was previously put under the working directory, where I knew there was a problem and the writeable tool did not handle the exception, therefore, you only need to set the path to the root directory, and the cause of the error is not prompted.
This reminds me of a video lecture from a teacher from Zhejiang University. He said that we Chinese have a problem, that is, writing code does not like exception handling. Although exceptions do not often occur, they can cause harm as soon as they occur. I was also a person who did not like exception handling very much. Today, I would like to scold the writing tool guy, why not handle exceptions. But do you think you do not normally do that? As soon as Se made me do the test, I felt uncomfortable and thought that I had to work hard and didn't want to do it. But if I had to calm down, careful analysis of a program can often find problems in a program. Maybe only in this way can you really improve yourself. If your programs always count on others to discover bugs for you, you can only get ugly.

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.