Eight conditions to become a java master


There are no shortcuts to becoming a master, but some basic principles can be followed. Brother even JavaEE training instructor, tell you to learn java with such qualities to become a master!
  1. A solid foundation
  Data structures, discrete mathematics, compilation principles, these are the foundations of all computer science, and it is difficult to write high-level programs without mastering them. Everyone can write programs, but when you find that writing to a certain level is difficult to improve, you should think about whether you should go back and learn these basic theories. Don't learn OOP from the beginning, even if you are proficient in OOP, you may be at a loss when you encounter some basic algorithms. Therefore, it is very necessary to read some books on the basic theory of computer.
  2. Rich imagination
  Don't stick to a fixed way of thinking. When you encounter a problem, you should think about several solutions to the problem, and try methods that others have never thought of. Rich imagination is built on the basis of rich knowledge, in addition to computer, more involved in other disciplines, such as astronomy, physics, mathematics and so on. An open mind is important for programmers.
  3. The simplest is the best.
  This may be a rule that all sciences follow. In Einstein's eyes, the complex principle of mass-energy conversion is nothing but a simple formula: E=mc2. Simple methods are easier to understand, easier to implement, and easier to maintain. When encountering a problem, the simplest solution should be given priority, and the complex solution should be considered when only the simple solution cannot meet the requirements.
  4. Don't get into the horns.
  When you encounter obstacles, you might as well stay away from the computer for a while, look at the scenery outside the window, listen to soft music, and chat with friends. When I encounter a problem, I play games. When the part of the brain cells responsible for the game is extremely excited, the part of the brain cells responsible for programming is fully rested. When I get back to work, I will find that those problems are now solved.
  5. The thirst for answers
  The history of human natural science is a process of craving for answers, and even knowing only a small part of the answer is worth our effort. As long as you have a firm belief that you must find the answer to your question, you will spend your energy to explore, and even if you don't get the answer in the end, you will learn a lot in the process.
  6. Communicate more with others. There must be my teacher in the
  three -way trip. Perhaps in a casual conversation with others, a spark of inspiration can be burst out. Go online more and see what other people think about the same problem, it will give you a lot of inspiration.
  7. Good programming style
  Pay attention to develop good habits, code indentation, variable naming rules should always be consistent. Everyone knows how to troubleshoot errors in code, but often overlooks troubleshooting comments. Comments are an important part of a program, it can make your code easier to understand, and if the code already clearly expresses your thoughts, you don't need to add comments, and if the comments and the code are inconsistent, it's even worse.
  8. Tenacity and perseverance
  This may be the biggest difference between "masters" and ordinary programmers. The masters are not geniuses, they are tempered in countless days and nights. Success can bring us great joy, but the process is extremely boring. You might as well do a test, find a table of prime numbers up to 10,000, copy them all down, and check them three more times, if you can do it uninterrupted, you can satisfy this one.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326395892&siteId=291194637