Home > Java > javaTutorial > 10 tips to become a great Java programmer

10 tips to become a great Java programmer

怪我咯
Release: 2017-04-05 16:28:23
Original
1045 people have browsed it

10 tips to become a great Java programmer

1. Have a solid foundation and a deep understanding of OO principles

For Java programmers, a deep understandingObject-oriented ProgrammingThis concept is a must. Without a solid foundation of OOPS, you cannot appreciate the beauty of object-oriented programming languages ​​like Java. Merely learning the definitions of OO principles is not very useful. The key is to learn how to apply these principles to design solutions in an OO way. Therefore, we should have a good understanding of object modeling, inheritance, polymorphism, Design Patterns.

2. Master the core API

If you don’t know the language structure and core API, no matter how strong you are in theoretical knowledge, it will be impossible for you to stand alone. . In Java, it is best for us to have strong practical experience in core APIs, such as java.lang.*, I/O, exceptions, collections, generics, threads, JDBC, etc. If it comes to the development of Web applications, no matter how much you use a framework related to Servlets, JSP is a must.

3.Keepcoding

Lu You once said, "You will only understand what you see on paper, but you must do it in detail." It's easy to come up with a solution in theory, but when it comes to implementation, you realize how difficult the problem is. At this point, you will understand the language limitations that exist in the coding process and design best practices. Hence, Keepcoding.

4. Subscribe to the community forum

We are not alone. Many people are working on the same technology as us. It is not difficult to just verify the concept of a certain framework, but when you apply these concepts to actual projects, then various problems and problems that cannot be solved in official documents will become One after another. The first thing to do when learning new technologies is to subscribe to relevant technology community forums. No matter what problem you are facing, there is always someone who has encountered it before you and may have found a solution. For more exciting content, follow the WeChat public account: Beijing Shangxuetang.

5. Follow the blog and add your own comments

As I said in the previous point, we are not alone. Thousands of technology enthusiasts from around the world publish their technical insights on blogs. On blogs we can find many different perspectives on the same technology. Some people may think this is a powerful technical feature, while others may think this is a stupid framework. Different people have different opinions. So you will hear two different voices in blogs about the same technology. When you see a good blog, you can write your own opinions and reply in the comments. For more exciting content, follow the WeChat public account: Beijing Shangxuetang.

6. Read the source code of open source frameworks

Good developers always know how to use the framework. But if you want to be a good developer, then you need to study the source code of various successful and popular frameworks to understand its inner workings and best practices. This is an efficient way to use the framework.

7. Understand the development trends of related technologies

In an open source environment, software development technology is always developing and changing. What is called a new framework now may become obsolete by then. Problems that cannot be solved with the current framework may no longer be problems with the new framework. So always pay attention to the birth of new things and the death of old things. For more exciting content, follow the WeChat public account: Beijing Shangxuetang.

8. Have frequently used code snippets/utilities handy

Sometimes we may need to copy-paste/write the same code snippet/configuration over and over again. Therefore, it is of great benefit to save some configuration fragments such as log4.properties, jdbc configuration, and utilities such as StringUtils, ReflectionUtils, and DBUtils. These things by themselves may not make you unique, but think about it, if your co-developer wants you to help him get a list of

property

values ​​from a collection of objects, and all you need to do is use ReflectionUtil It can be solved within a few minutes, and it suddenly stands out.

9. Understand different development methods

Be familiar with different development methods, such as Agile, SCRUM, XP, Waterfall, etc. Now, it is the customer who has the final say on which development method to choose. Some customers prefer Agile, while others prefer the Waterfall model. So being able to dabble in various methods is definitely impressive.

10. Record your views on technology in documents/blogs

In our daily work, we may learn new things, new ways of doing things, practice forms and architectural concepts. You can record these ideas in documents or blogs and share them with everyone. Because the way you solve the problem now may be the problem that another developer in another corner of the world is "looking for and searching for", your sharing will be no less than the rain in a long drought. For more exciting content, follow the WeChat public account: Beijing Shangxuetang.

The above is the detailed content of 10 tips to become a great Java programmer. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template