Project Manager growth diary (10)-Can one million heroes repeat it?

Source: Internet
Author: User

 

"Living in the neighborhood, and entering the land reclamation Park. The bird stays on the edge of the pool tree, And the monk knocks on the next door of the moon. Crossing the bridge and moving the Stone to the root of the cloud. ." In order to figure out the title of Li Ning's neighborhood, Jia Dao, no matter the traffic laws and regulations, rode his ass into the official path. There is only one option for the whole poem, so in the second sentence, should the "Knocking" of "Monk knocking on the next door of the Moon" be replaced with "pushing ". But he felt that "pushing" was not suitable. It would be better to "knock. I do not know whether it is "Knocking" or "pushing. He shouted in his mouth, regardless of whether the donkey in his ass went there. As a result, the donkey did not know any big official or minor officials and went straight to Han Yu's guard, han Yu, despite being highly important, is also a scholar who asked jia dao why he was in disorder. JIA Dao read the poem he made to Han Yu, but one of his uncertain ideas was to use "push"
Okay, use"""I 've done a good job. After hearing this, Han Yu said to Jia Dao: "I think it's good to use 'Knock. It's good to go to someone else's house. It's good to say it's good to knock on the door at night! In addition, the words "knock" make the night quiet deeper, more sound. Besides, the reading is also louder. "jia dao nodded again and again. He not only suffered no penalty, but also made friends with Han Yu.

In the Tang Dynasty, jia dao was called a sick poet. What is swordsmanship? It is for a poem or a word in a poem, and does not hesitate to spend time. JIA Dao used several years to make a poem. After poetry became, he burst into tears. Of course, he is not so hard to be a capital. If so, he will not be a famous poet.

In my opinion, software development and writing are somewhat similar in terms of human brain work. Through the imagination, analysis, and efforts of the author, we can turn what originally exists out of thin air into reality. It's just that writers can write freely and use the pen tip for thousands of miles. However, software development requires further verification and rigorous science. However, many people refer to software development as software writing. This is because the development and writing of software engineering are the same.CodeStacked into each function, and then aggregated into a system, which is basically the same as writing. The author often needs to repeatArticleThen, you can write beautiful texts that make people satisfied. What about software development?

Of course, when developing software, I won't write a poem just a few years ago like jia dao. Such a piece of output can be left for my spare time. For the company, it is estimated that the boss will stretch his face more tightly than the pigskin. In any development process, we can also use things to communicate with Rome. For the same action, the article focuses on the Artistic Conception of pushing and knocking. For the software, the same function is used, it can also be implemented using different methods. Some people may abstract the common functions into common functions, some others may reuse this function through copying and copying. Although all functions are done, it is estimated that the maintenance personnel will respond a lot to the two methods. If they do not work well, they will still read the Three-character classics, by the way, I would like to visit the elders of the code writers.

In software development, our code also needs to be repeated and refined like writing articles, especially in team development. This type of scrutiny is more important. It doesn't mean that after a project is completed, we have over 100,000 lines of code, and millions of lines are a great project. In fact, for such a huge amount of code, we need to be excited and think about how much code is useful, and how much code is worth refining again and again, rather than talking about so much code, it's like a sponge dipped in water, and nothing is done after being screwed up.

 

I have just sent the interviewer out of the meeting room and returned to my location. Mu Zi can't wait to ask: "Xiao Yu, who is the one-million man from time to time ?" With a kind of worship eyes looking at the person's departure back, as if the person who gradually leaves is her long-standing idol.

after hearing this, I shook my head and said," It's not him. He will come half later." As project preparation has gradually started, recruitment is also an urgent step in the preparation process. After all, it takes a long time to find a suitable person. Yesterday HR several Senior some of the resumes of level applicants are delivered by themselves, and some are obtained by headhunters. Among these resumes, one of them almost blew up a team.

Resume isWordThe first page of the document, unlike the resume of ordinary people, first write your own name and basic information, there are some work records. A special note is given at the beginning, which describes two points. The first point is as follows:"XxThe oilfield project has written a total of code in half a year.100Ten thousand lines of code ." The second part of the description is about the functions implemented by this project. But when I see this100I couldn't help but be surprised when I had ten thousand lines of code, and I couldn't help but admire this person. After all, I guess it is impossible for me to complete so many code development tasks within six months.

"Wow,100Ten thousand !" Because the master is also reading the applicant's resume, even if he looks calm at ordinary times, he cannot help but marvel.

" What 100 ?" The other people in the Development room asked curiously after hearing the sighs of the master.

soon, this person's resume was read by all the members of the entire development team, and all of them were curious and expected, they all hope to see what such a strong character looks like as soon as possible? From time to time, there are three heads and six backs. Otherwise, how can we complete so much code work within six months? A Mao also calculated the number of codes written by this person every day, half a year equals 180 days, that is to say, one day writes close to 5600 line code, if one day's work 12 in an hour (indeed, it is impossible to work overtime for such a project ), 1 write 460 Line code, 8 lines of code are required every minute. After a Mao's computation, everyone thought it was incredible. In a short period of time, no one cares about the real name of the person, and millions of heroes will be crowned to him. Mu zi also told me that if one million heroes come tomorrow, let her see it.

I made a meeting in the position, and the front-end told me that the interviewer had arrived. I checked the time, which was earlier than agreed.10Minutes. I took my resume and was about to go to the meeting room with my master. Mu Zi followed us later. I smiled at her and started to look at her. I entered the meeting room with my master. The interviewer was already sitting in the room. The wooden head searched twice at the door and then returned to the development room.

As soon as I sat down with my master, I carefully observed the people in front of me, but there was no feeling of being three or six times better. I was a middle-sized man, as described in my age and resume.30The year old is also consistent. The short hair looks very energetic. Sitting there drinking water, it looks so charming that it doesn't seem nervous.

At the beginning of the interview, he started a simple self-introduction. After the introduction, the master asked him directly: "Can you tell me about this ?"XxOilfield projects ?"

"This project isB/SThe core function in my project is the report function, because the requirements for reports in the oilfield project are complex, in this project, the customer needs to implement the report function. The report fields can be customized at will. In addition, we also implement the automatic detection and warning functions of data that is correct but abnormal......."

In fact, his introduction to the project is clear, and he undertakes mainly the functions for the report part. In this function, he mainly implements self-writing reports to gradually define report templates, you can use stored procedures to interact with common controls to browse, export, and print reports. For reports, the complexity required by different industries varies greatly. For industries with special requirements, to implement the report, it is not implemented through a simple report tool. Therefore, there is indeed a large number of encoding possibilities for this part of the function. However, because I have not worked in the development of the petroleum industry, I cannot measure the complexity of the product.100 million.

The master then asked: "Your resume saysXxThe oilfield project has written a total of code in half a year.10010 million lines of code. I want to know about you100How is the ten thousand lines of code calculated ?"

"I used tools to collect statistics, probably including100 millionRows left and right ."

"This100 millionDo you write all the lines of code yourself ?" The master continues to ask.

"No, where30To40Ten thousand lines of code are generated by the code generation tool, and some of the Code isHtmlAll the code files are added together, which is probably100 millionLine ."

The master did not continue to ask questions. In fact, it is here.He can probably estimate the number of useful codes based on his own experience. In fact, the number of codes automatically generated by the development tools is also astonishing by using the existing development tools, in many cases, developers can drag and drop to generate tens of thousands of codes. What problems can be explained by the Code statistics?

 

In fact, in the process of team development, we often need to consider and repeat the code we have written, look at the code efficiency, code reusability, and so on. Most of the time, we need to control the amount of Code. The Code is not as good as it is. If it becomes an old lady's foot cloth, it will only be long and smelly. Once such code is developed, the maintenance cost is astonishing. If10Sometimes some functional code of a person's development team can be used universally,10People are separated from each other. Each person writes a set of code for a function. Due to lack of standards for the project, lack of effective code comments, and developers are also too lazy to read the code, you can write a set of analysis functions on your own. You may also write a set of code because you are afraid of modifying the existing code and affecting other functions, in this way, there are a lot of repetitive code in the project. During later maintenance, the result is that the left side is often lost and the right side is lost, and problems are constantly emerging.

In team development, we need to control code redundancy to avoid a large number of invalid and messy code, which often comes from the automatic generation of development tools, sometimes it comes from inefficient coding by developers. You also need to summarize and extract code that is universal and public. At the same time, we also need to strengthen the development specification constraints. This ensures the quality and efficiency of the Code.

OneProgramThe code that can be written by members in one day is limited. We need to reduce the repetitive labor volume between them and improve the quality of their code writing. If the quality can be controlled, the efficiency can be improved, and thus the time is saved. If we can save some time, the overall progress of the project is another scene.

Author:Yice (Xiao Yu)

Source:Http://www.yice800.cn

The copyright of this article is owned by the author. You are welcome to repost this article, but you must keep this statement without the author's consent and provide a clear link to the original article on the article page. Otherwise, you will be entitled to pursue legal liability.

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.