Eight conditions to become a master of Java

Source: Internet
Author: User

The world has not been a shortcut to master, but some basic principles can be followed.

1, a solid foundation

Data structures, Discrete mathematics, and compilation principles are the foundations of all computer science, and it is difficult to write high-level programs without mastering them. The program is written by everyone, but when you find that writing to a certain degree is difficult to improve, you should think about whether you want to go back and learn the most basic theories. Do not learn oop from the start, even if you are proficient in oop, you may be helpless when you encounter some basic algorithms. So it is very necessary to read some books on basic computer theory.

2. Rich Imagination

Do not stick to the fixed way of thinking, when encountering problems, you should think of several solutions to solve the problem, try others never thought of methods. Rich imagination is based on a wealth of knowledge, in addition to computers, more than other disciplines, such as astronomy, physics, mathematics and so on. Open mind is important to programmers.

3, the simplest is the best

This may be a guideline that all science follows, and the complex principle of mass-energy conversion is simply a simple formula: E=MC2, in Einstein's eyes. Simple methods are easier to understand, easier to implement, and easier to maintain. When encountering a problem, prioritize the simplest scenario, and consider a complex scenario only if the simple scenario does not meet the requirements.

4. No

When you encounter obstacles, you may want to temporarily away from the computer, look out of the window scenery, listen to light music, and friends chat. When I have a problem, I play the game, and when the brain cells in charge of the game are extremely hyper, the part of the brain that is responsible for programming is fully rested. When I start working again, I will find that these problems can be solved now.

5. The thirst for answers

The history of human science is a process of craving for answers, even if only a small part of the answer is worth the effort. As long as you firmly believe, you must find the answer to the problem, you will devote energy to explore, even if you do not have the answer, in the process you will learn a lot.

6. Communicate more with others

Three people will have my teacher, perhaps in a casual conversation with others, you can burst the spark of inspiration. It will give you a lot of inspiration to get on the internet and see how people think about the same problem.

7. Good programming style

Pay attention to develop good habits, code indentation orchestration, variable naming rules should always be consistent. Everyone knows how to rule out errors in the code, but often ignores the mistakes in the comments. Annotations are an important part of a program that makes your code easier to understand, and if your code has clearly expressed your thoughts, you don't have to annotate them, which is even worse if the comments and code are inconsistent.

8. Toughness and perseverance

This may be the biggest difference between a "master" and a general programmer. The Masters are not geniuses, they are honed in countless days and nights. Cheng * * * can bring us incomparable joy, but the process is extremely dull and tedious. You might want to do a test, find a list of primes within 10000, copy them all down, and then check three more times, and if you can do this without interruption, you can meet this one.

Eight conditions to become a master of Java

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.