"Boulevard to Jane" second reading

Source: Internet
Author: User

Today, the second chapter of the Zhou Ai Avenue to Jane about is lazy people made a way to read a few times, the author through the Warring States period when the comparison between Li Bing and yugong Yishan to explain lazy people long ago method theme, before listening to history teacher lectures is because lazy people will have so much to save people strength and time of invention, but lazy people is not really lazy Just spend more time thinking above and observing the details of life above, as the author of the article said that the foolish man too diligent, diligent today can be more than yesterday cut a stone, so that there is no chance to find a faster way, the human energy is ultimately the limit. Proposing a new method to solve the problem will be the fundamental issue of the effectiveness of the work. And the foolish public can eat more rice, more classes, but not to break the limits of human energy.

The text of the 1 million lines of code is can be written in a file, by the early writing process, are playing in the empty belt, let the computer to read, to later assembly language This is also a progress, save a lot of trouble, and no matter how big the program, how many lines of code, write to a file will be convenient many. But write 1 million lines of code to a file, to find a function need to press 5,000 times in the editor Pagedown/pageup key, of course, for the diligent of the foolish man is not going to think about something, but for some lazy people, this very large project is not willing to participate in, So they think about how to "steal a little lazy" and then have a later "unit file", with the unit file, a new concept is quickly emerging: modules. A large module into a small module, and then the small module into a smaller small module, a small module corresponding to a unit, so it can be divided into work, some people write several units of code, the other part of the number of written, so that can reduce a person's workload, thereby improving the efficiency of the work, which also reached the "lazy people" The requirements, but also because of a little more thinking, so much less hard work.

When it comes to the books on your desk, is it messy? I thought it had something to do with programming, but when it comes to the content I get into the thinking, the author of the article cited by the example is just a problem to worry about, learning a year of programming, but do not know how to write a program, the author used the book on the table to tell the problem, since the book on the desk know how to classify The well-organised, that programming is not the same truth, the knowledge of their learning, the things that are understood, summed up, neatly placed in the brain, so not more clearly understand what they learned, commonly used in the mind of their own, And those that are not used can not be remembered only need to be used in the time can be found in the book can be. So we should learn to summarize what we have learned, so that we can learn new knowledge faster. Hard-working people don't have time to think about these problems, they try to write programs, and sometimes we really need some time to sort out what we've learned. Moreover, for the professional software engineering, I have good software quality is very important, here the quality refers to: We write programming must write notes, break the good habit, the standard format is to write code should have an important quality.

About the author of: program = data + algorithm + method of thinking, is in soul and his dialogue, can very well see his thinking there are a lot of dissatisfaction, he missing the object-oriented "method problem" if a problem cannot be solved, it will always become a problem. So there is the "program = data + algorithm + method" thinking.

"Boulevard to Jane" second reading

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.