1, solid foundation
Data structure, discrete mathematics, compilation principle, these are the foundation of all computer science, if you don't master them
It is difficult to write high levels of procedures. The program will write, but when you find that it is difficult to improve a certain level.
Waiting, you should think about whether it is going to go back to learn these most basic theories. Don't go to learn OOP at the beginning, even if
You are also proficient in OOP. When you encounter some basic algorithms, you may have no hand. So reading some computer base
The book is very necessary.
2, rich imagination
Don't stick to a fixed way of thinking. When you encounter problems, you should think more about solving problems, try not
The method never thought about. Rich imagination is based on rich knowledge, in addition to the computer, more
Other disciplines, such as astronomy, physics, mathematics, etc. Open thinking is important to programmers.
3, the simplest is the best
This may be a criterion following all sciences, and the complex quality conversion principle is just in Einstein.
A simple formula that is not a simpler: E = MC2. Simple method is more likely to be understood, it is more easy to implement, but also more
It is easy to maintain. When you encounter problems, you must give priority to the easiest solution, only the simple solution does not meet the requirements.
Complex solution.
4, no drill beef
When you encounter obstacles, you may wish to stay away from the computer, look at the scenery outside the window, listen to light music, and friends
Chat. When I encounter a problem, I will play games when I am responsible for the part of the brain cells that the game is extremely excited.
At that part of the brain cells responsible for programming have been fully resting. When I started working, I will send it.
Now those puzzles are now able to solve it.
5, the thirst for the answer
The history of human natural science is a process that is craving for answers, even if you can only know a small part of the answer.
The division is also worth paying. As long as you firmly believe, be sure to find the answer to the question, you will pay for the energy to explore
Sole, even if you don't get an answer, you will learn a lot during the process.
6, more communication with others
Three people must have my teacher, maybe in a conversation with others, you can explore the inspirational spark. many
To the Internet, see what others have a big inspiration to you.
7, good programming style
Pay attention to develop a good habit, the indential arrangement of the code, the naming rules of the variable should always be consistent. everyone is
Know how to exclude errors in the code, but often ignore the missed troubleshooting. Comment is an important component of the program
Division, it can make your code easier to understand, and if the code has clearly expressed your thoughts, it will not have to
The addition, if the comments and the code are inconsistent, it is even worse.
8, toughness and perseverance
This may be the "master" and general programmers the biggest difference. Masters are not genius, they are countless
It is grinding in the night. Success can bring us extremely joy, but the process is incomparably boring.
You may wish to do a test, find a number of items within 10,000, copy them all, then check three times, if
You can meet this uninterrupted.
Transfer from:
http://www.5iuu.com/blogview.asp?logid=2150