Do not worry about software.

Source: Internet
Author: User

I am using C # For QQProgramAt the beginning, the design was quite good, and the qqnetserver server and qqnetclient Client Communication Class of TCP protocol were compiled. This class can serialize the qqcommand class and send it to the other party. The qqcommand class contains the command name and a set of parameter strings. It should be said that all done here is good, and network communication is well encapsulated. But when I wrote it down, I was so anxious. Instead of encapsulating the business logic, the system calls qqnetserver and qqnetclient directly on the interface and applies the qqcommand. The idea was to finish it quickly. However, I did not expect that it would be slower and slower. There are many bugs in the program, and it takes a long time to find these bugs... Therefore, the QQ communication program was not completed within the agreed two days. Very failed.

You cannot eat hot bean curd. If you are not sure about it, or the software to be developed is not very small, you must follow the software engineering development steps strictly. If you want to skip the step, you will undoubtedly find trouble for yourself, because it will not only bring you development efficiency, but also make yourCodeIt is very difficult to maintain, and it is even more exhausting to perform unit tests.

No matter whether I continue to do this QQ program well or not. I will continue to use this program as a lab product to test my learning achievements over the past eight months. It is time to get on track for ten years.

The main failure of this program is to skip the design step and do the program according to the method of the previous side encoding side design. The results are naturally learned. To learn from this lesson, you must follow the software engineering process in a steady and steady manner. First, we will outline the design, design the code in detail, and then start coding from top to bottom. I think I will succeed. I will be a programmer who looks like me!

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.