Mohan with illness

Source: Internet
Author: User
[Unit test]
I used to have some experiences. The closer I got to the end of the project, the more anxious I was. The end of the Project is mostly the end of the construction period, and the product is a great deal. Code . I don't know whether such code can go through the storm, but the most important thing at that time was the change request from the customer. This means that the entire project is released, and the debugging idea will be very confusing. You do not know which code is trustworthy. Until Kent Beck gave me a story about Rull.
When I was a child, I saw such things in my village. At that time, there was no concept of water pipes. If someone wants to eat water, they need to go to the water wells in the village. The water well is very deep. In order to save strength, the adults have installed inverted data teeth on the revolving crank. In this way, you can take a rest during the water lifting process.
Remember, the Code must be a small step. Everyone wants to move forward, but not. In some of my training courses, some Trainees often raise objections to the unit test content. They think this approach is too slow. They want to complete more code in a shorter time. This will be efficient. However, the real efficiency is not how much code is completed. Instead, it completes the number of quality codes. My observations on many projects show that people write code quickly. More time is spent on thinking and debugging.
[About meeting]
Therefore, I have summarized a set of development processes for fast discussion, simple design, code implementation, unit testing, refactoring, and document improvement. The reason for the quick discussion is the issue of the Chinese project team meeting. In fact, it is a good thing to love opening, but our meetings are often subject to questions. It is very likely to start from a topic, turning around outside, and finding that I have run my questions and then come back. To solve this problem, you can use the form of standing or corridor meetings. Because of standing, the problem cannot be persisted for a long time. The problem must be solved in the shortest time. I often discuss issues with people in the bathroom. In that environment and space, you will be very focused and easy to think about. It can also be fast and effective during lunch. If you have to find a formal application, you can use some tools. For example, mindmanager standardizes the content of this meeting in the form of a mind map. If the branch has exceeded two layers or exceeds the scheduled time, it will end immediately.
[About architecture]
Many software teams consciously and unconsciously imitate the construction process of the construction industry. Show the initial idea on the drawing, and then compare the drawing for discussion and review. These drawings are used as the basis for coding. I was asked not only once to explain some drawings to my clients. People call it software engineering habitually. The most typical courses include 80% of the time in the UML course to explain the use of Rose. Most of the time in software engineering courses is used to break down the document format. This spam course is very good for Chinese people. So this course has been very popular in the past two years. However, those masters who are 3,000 feet away from the ground forgot the most important thing: the demand of the software industry is not fixed, but constantly changing compared with the construction industry. Therefore, this so-called project cannot adapt to the software industry. At least it cannot be implemented like a construction project. Therefore, the documents or drawings referred to as architecture design are very pale. The real architecture is the user-recognized code implementation that explains the most important issues. I think only a structure system based on such code can be called an architecture. Let those vacuum architects roll back to their planet. Humans on this planet need oxygen to survive. Our oxygen is the clean and available code.
[UML]
I am not an opponent of modeling. In fact, I encourage modeling. But they are not important. The real focus is the implementation of functions. UML is mainly used in discussions before simple design. His biggest display is on the whiteboard, rather than those beautiful documents. It aims to communicate and organize ideas. Of course, it is a good habit to organize the code into the document for later maintenance and reading. This is like eating. For me, the main function of eating is to solve the survival problem, and then what else. Therefore, I apologize to the gentlemen and ladies who have been skeptical about using chopsticks in Western restaurants. I can't hide my real intentions in a gorgeous package. In my needs, survival needs are arranged on top of any requirements. Of course, if I solve the problem of food and clothing, I would like to discuss with you the topic about "getting a knife in the left hand or getting a knife in the right hand. I even recommend that you wear a 5 K diamond ring on the ring finger of your right hand during your meal.

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.