How do excellent Java programmers write code?

Mainly the spirit of hard work, pioneering ideas, perseverance and continuous learning.

1, let's talk about quality first: if you want to do something, be a man first. Doing technical children's shoes often ignores being a man, thinking that if you learn well and do well in technology, you will certainly get good development. Actually, not necessarily. Most programmers are not geniuses or magical powers. If you want others to teach you knowledge, share technology with you, and work with you, quality is the most critical. Only high-quality, high-skilled talents can gain the admiration and respect of others, the appreciation and promotion of leaders, and higher returns and opportunities.

2. Let's talk about code first: A good programmer can definitely write excellent code. Programmers are like writers in the computer field. Your program is like a beautiful article, so that the computer can read and execute it well and other programmers can understand your code. The code written by the most advantageous programmers is as charming as poetry.

3, programming ideas: java is object-oriented programming, many Java programmers, especially those in training classes, do not seriously think about the principles and ideas, and swallow the dates. As a result, I learned technology, didn't understand ideas, and didn't master the essence of Java.

4. Solid foundation: Some Java engineers have worked for several years, and as a result, some of the most basic knowledge has not been memorized. When reprogramming, they always use the tool tips. Without tools, they can't write the correct code. How can such a person become a master, let alone be considered a master by others, just like a great writer has written many wrong words?

5. Programming speed: An excellent programmer must not be slow in programming. In addition to solid foundation and rich experience, clear programming ideas and rhythm are needed. Before writing a program, you must plan and design well, foresee all kinds of situations and find the fastest algorithm.

6, pay attention to efficiency: a function, Zhang San used 100000 lines of code, and you only used 300 lines of code, then you are simple and efficient, run faster, and save memory and resources, then you are a cow, that person is a low hand.

7. Learning ability: Excellent programmers never stop learning and have the strongest learning ability. He can master the most advanced technology anytime and anywhere, which is inseparable from his quick learning ability.