Avenue to Jane: The thought of software engineering practitioners Chapter Two

Source: Internet
Author: User

Chapter Two: The Lazy man created the method

Citing the story of Li Bing Burning mountains, the same is the Warring States Period, the foolish public will be "gravel hit the soil", and Li Bing has already understood the "accumulated pay burning", why said lazy people to create a method, if Li Bing also like a fool of the same day and night to urge his team Chisel Stone Mountain, then he certainly did not have time to Of course, it will not be found that the "burning" method can speed up the progress of the project, so that a large mountain for a short period of time will be crashed to "broken" dropped. Li Bing's team of hundreds, if only for eating and drinking, it will inevitably be sleepless, because the project is too big. Instead, he should be an idler and be idle to see if the fire could blow up the stone. In such a big project, if will be idle to see the stone, that he must be very lazy, but, also is because his lazy makes "stone gravel" method. is also because the foolish public too diligent, diligently day will be more diligently than the day, but precisely because he is too diligent, can not find the opportunity to discover the better method, the person's experience finally is limited, proposed the new method is the fundamental question which affects the work effect, but the foolish public may eat more labor, but cannot break through the human energy limit.

2000 years ago, one day, special idle people cook to Mrs. Fried a side dish, he suddenly found that the pebbles of the stove was burned to burst, especially water, from the historical records of the "Shu Shou Ice chisel away from the heap", and almost the time of the foolish public in the mountain north of the plug "gravel hit the soil." Li Bing is the inspiration to get this allusion to create a "stone gravel" method.

In the previous era, the programmer's habit is to write more than 3,000 lines of code into a file, so according to this part of the logic of the people, 1 million lines of code can be written in a file, not only that, compilers, editors and so on must support, this is the Orthodox software development.

Later the unit file appeared, and soon a new concept was introduced: module. A large module is divided into small modules, and a module corresponds to a unit. So we started to work separately, some people wrote the code for these units, and the others wrote those. The era of structured programming comes with the source code in separate races. So, 1 million lines of code can be written in a file.

I also learned a year of programming, and the brain is dizzy, do not know where to start, do not know how to do the program. Read only to find that they do not know what the knowledge is doing, but in the teacher's class remember, when the class did not know how to use, do not know that all kinds of knowledge can be used to do something. Since we will organize books, classify them and organise them neatly, we can analogy to the knowledge we have learned, summarize them, and put them neatly in the mind. If you learn, but do not know how to do, it is only he does not know what these knowledge can be used to do. So we should try to classify the existing knowledge like the books on the table, the most commonly used on the hand, and the least used in the cupboard, so that our ability to improve a big step.

"program = data + algorithm + method", in fact, even if there is no "method" of the root cause, even if there is no "method" exists, only need to have "unit" and "module" concept, in the process-oriented era, as can make arbitrary large programs. In those days, the "method" question did not appear to be as prominent as the nose. In the process development of every programmer, the programmer does not need to create anything, it can carry on the development work of the foolish formula.

Avenue to Jane: The thought of software engineering practitioners Chapter Two

Related Article

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.