Basic Literacy of JAVA experts

Source: Internet
Author: User
The basic literacy of JAVA experts-general Linux technology-Linux programming and kernel information. The following is a detailed description. There is no shortcut to becoming a master in the world, but some basic principles can be followed.

1. Solid Foundation

Data Structures, discrete mathematics, and compilation principles are the foundation of all computer science. If they are not mastered, it is difficult to write high-level programs. Everyone will write the program, but when you find it difficult to improve to a certain extent, you should think about whether you want to learn these basic theories. Do not learn OOP from the beginning. Even if you are proficient in OOP, you may be helpless when encountering some basic algorithms. Therefore, it is necessary to read more books on basic computer theories.

2. Rich imagination

Don't stick to a fixed way of thinking. When you encounter problems, think about several solutions and try the methods that others never thought about. A wealth of imagination is based on a wealth of knowledge. In addition to computers, you are more involved in other disciplines, such as astronomy, physics, and mathematics. Open thinking is very important for programmers.

3. The simplest is the best

This may be a guideline followed by all science. In Einstein's eyes, the complex principle of energy conversion is just a simple formula: E = mc2. Simple methods are easier to understand, implement, and maintain. In case of problems, we should give priority to the simplest solution. If a simple solution cannot meet the requirements, we should consider a complicated solution.

4. Do not drill corners

When you encounter obstacles, you may wish to stay away from your computer for the moment, look out the scenery outside the window, listen to light music, and chat with friends. When I encounter a problem, I play games. When the brain cells responsible for the game are excited, the brain cells responsible for programming are fully rested. When I start my work again, I will find that the difficulties can be solved now.

5. thirst for answers

The history of human natural science is a process of waiting for answers. even a small part of the answer is worth the effort. As long as you firmly believe that you must find the answer to the question, you will be able to focus on exploration. Even if you do not get the answer at the end, you will learn a lot in the process.

6. communicate with others

You may be able to draw inspiration in a casual conversation with others. Surfing the Internet more and seeing what others think about the same problem will inspire you a lot.

7. Good programming style

Pay attention to developing good habits, code indentation, and variable naming rules should always be consistent. Everyone knows how to eliminate errors in code, but often ignores the troubleshooting of comments. Annotation is an important part of the program. It makes your code easier to understand. If the Code already clearly expresses your thoughts, you don't need to add comments, if the comments are inconsistent with the code, it is even worse.

8. Toughness and perseverance

This may be the biggest difference between a "master" and a general programmer. Masters are not geniuses. They are refined in countless days and nights. Success can bring us great joy, but the process is very boring. You may want to perform a test, find a prime number table of less than 10000, copy them all, and then check them three times. If you can do this without interruption, you can satisfy this rule.
Related Article

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.