Become the eight mystery of programming masters

xiaoxiao2021-03-06  132

1. Solid basic 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. The program will write, but when you find that it is difficult to write a certain degree, it should think about whether it is to go back to learn these most basic theories. Don't go to learn OOP at the beginning, even if you are fine, you may have no hand when you encounter some basic algorithms. Therefore, more books in some computer basic theories are very necessary. 2, rich imagination does not stick to a fixed thinking method, when you encounter problems, you should think about several solutions to solve the problem, try the way others have never thought about. Rich imagination is based on rich knowledge, except for computers, more about other disciplines, such as astronomy, physics, mathematics, etc. Open thinking is important to programmers.

3. The easiest thing is that this may be a criterion that all science follows. The complex quality conversion principle is just a simple formula that is simple in Einstein: E = MC2. A simple approach is easier to be understood, more easily implemented, and more easily maintained. When you encounter problems, you should give priority to the easiest solution, and only the simple solution cannot meet the requirements. 4, do not drill the horns When you encounter obstacles, you may wish to stay away from the computer, look at the scenery outside the window, listen to light music, chat with friends. When I encounter a problem, I will play games. When I am responsible for the top of the brain cells, the part of the brain cells responsible for programming have been fully resting. When I started working, I will find that the problem is now able to solve it.

5. The history of eager human nature science for the answer is a process of eager to get the answer, even if you can only know that a small part of the answer is worth we pay. As long as you firmly believe, you must find the answer to the question, you will pay energy to explore, even if you don't get answers, you will learn a lot during the process. 6, more people with others must have our teacher, maybe in the conversation with others, you can burst into inspirational sparks. Many up-to-go, see what others' views on the same issue will give you a lot of inspiration. 7. Good programming style pay attention to develop a good habit, the indentation of the code, the naming rules of the variable should always be consistent. Everyone knows how to exclude the error in the code, but often ignore the missed troubleshooting. Note is an important part of the program, which makes your code easier to understand, and if the code has clearly expressed your thoughts, you don't have to add any comments. If the comments and code are inconsistent, it is even worse. 8, toughness and perseverance this may be "master" and general programmer's biggest difference. Masters are not genius, they are tempered in countless daysday 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 complete this work, you can meet this.

转载请注明原文地址:https://www.9cbs.com/read-127100.html

New Post(0)