Only people who really like programming can write good programs.

Source: Internet
Author: User

like to write programs, to be a programmer is to go to heaven; do not like to write programs, programmer is the hell.  programmers need to lie in front of the computer, often day and night, very hard, and work slightest the slightest false, less write a punctuation is not. Like people, the days are very happy, every write a line of code, there will be new achievements, especially when their works are widely used, that kind of pride welled up. Do not like the person, sitting in front of the computer extremely bored, is the progress pressure to breathe, every day for the bug to find bugs angry.  only like, only love, can write the program well!  I suggest that people who do not like to write a program early career change, do not force themselves, lest astray mistake oneself.   Recommendation two: The program as a work of art, like writing poetry to write code There are few companies doing CodeView (code-level checking of written procedures), so many people are under the pressure of progress, as long as the test pass even if done. On the surface, the development speed is very fast, the progress is guaranteed; But in fact, such programs even the developers themselves are difficult to read, once there are bugs, difficult to debug, future maintenance upgrades are very difficult. Most of this code can only be rewritten, wasting natural and serious.  if each person writes the program when works of art to write, writes each line is earnest, clean, although the speed is slightly slower, but the comprehensive development cost will be much lower.  How do you write code that is as beautiful as a poem? Method is also very simple.  First, buy a few classic programming books, all the examples of the book re-write all over again, compare and book The gap between the examples, step by step to improve their programming style and skills. For a long time, it is natural to write the same code as the routine in the book, even better than the book.  second, the foundation of solid, look at Linux and other system-level source code, see how the Master is written, there is a feeling.  Recommendation Three: must write enough 100,000 lines of code, don't be lucky programmers are like carpenters, and practice makes perfect. Programmers have to write enough code to get the feeling that this is a work of toil, there is no shortcut to go.  Computer is a practical science, no hands-on ability to do support, it is difficult to make good scientific research. One of my seniors is a PhD from Carnegie Mellon University in the United States, and Carnegie Mellon University's computer department is well known all over the world, and he says that each doctoral student must write 100,000 lines of code to graduate, and Carnegie Mellon's PhD goes to any big business without interviewing. The majority of postgraduates and doctoral students in China are weak in their ability to do their hands.  have not written enough code, want to become a master is impossible, can only talk on paper!


3----------------------------

===================================================

How to program   patience, hard work, try, failgood programmers have a quality that does not come to an end, and they are pleasantly surprised by the results of long-term scrutiny and failure. Learning to program can be very rewarding, but the process may be frustrating and lonely. If possible, it is best to find a company to accompany you to do this thing. To be proficient in programming, this is the same as anything else that needs to be adhered to, tried repeatedly, and gained more experience.  for a novice, the process of learning is to dig their own hole will be to take the initiative to find the problem, the more the pit jump will not be easy to be pits.  I'm afraid for the vast majority of programmers--you're not really happy! all programmers might be roughly divided into these five states:1. Do not love, but forced to livelihood2. No sense, anyway3. Love, but physically and mentally exhausted4. Fever, beat chicken blood in general5. Joy, after all, enjoyWhat kind of one do you belong to?  JAVA is a powerful and highly portable development languageHTML is a hyper-text markup LanguageJava Script is a client-based scripting language The cultivation of "thinking ability" should be practiced for a long time. To be a good programmer, the most important thing is to master the idea of programming. To do this must be in the repeated practice, observation, analysis, comparison, summing up gradually accumulated. Therefore, in the process of learning programming, we do not have to wait for everything to fully understand the hands-on practice, as long as the understanding of the general, we have to dare to experience. Everyone has the first time. Some problems can only be understood through practice, and only practice can be teachers and books on the knowledge into their own, the master is so good.




5----------------------

Only people who really like programming can write good programs.

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.