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---------------------------- |