Home Java javaTutorial 10 tips to become a great Java programmer

10 tips to become a great Java programmer

Apr 05, 2017 pm 04:28 PM

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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Perfect Number in Java Perfect Number in Java Aug 30, 2024 pm 04:28 PM

Guide to Perfect Number in Java. Here we discuss the Definition, How to check Perfect number in Java?, examples with code implementation.

Weka in Java Weka in Java Aug 30, 2024 pm 04:28 PM

Guide to Weka in Java. Here we discuss the Introduction, how to use weka java, the type of platform, and advantages with examples.

Smith Number in Java Smith Number in Java Aug 30, 2024 pm 04:28 PM

Guide to Smith Number in Java. Here we discuss the Definition, How to check smith number in Java? example with code implementation.

Java Spring Interview Questions Java Spring Interview Questions Aug 30, 2024 pm 04:29 PM

In this article, we have kept the most asked Java Spring Interview Questions with their detailed answers. So that you can crack the interview.

Break or return from Java 8 stream forEach? Break or return from Java 8 stream forEach? Feb 07, 2025 pm 12:09 PM

Java 8 introduces the Stream API, providing a powerful and expressive way to process data collections. However, a common question when using Stream is: How to break or return from a forEach operation? Traditional loops allow for early interruption or return, but Stream's forEach method does not directly support this method. This article will explain the reasons and explore alternative methods for implementing premature termination in Stream processing systems. Further reading: Java Stream API improvements Understand Stream forEach The forEach method is a terminal operation that performs one operation on each element in the Stream. Its design intention is

TimeStamp to Date in Java TimeStamp to Date in Java Aug 30, 2024 pm 04:28 PM

Guide to TimeStamp to Date in Java. Here we also discuss the introduction and how to convert timestamp to date in java along with examples.

Java Program to Find the Volume of Capsule Java Program to Find the Volume of Capsule Feb 07, 2025 am 11:37 AM

Capsules are three-dimensional geometric figures, composed of a cylinder and a hemisphere at both ends. The volume of the capsule can be calculated by adding the volume of the cylinder and the volume of the hemisphere at both ends. This tutorial will discuss how to calculate the volume of a given capsule in Java using different methods. Capsule volume formula The formula for capsule volume is as follows: Capsule volume = Cylindrical volume Volume Two hemisphere volume in, r: The radius of the hemisphere. h: The height of the cylinder (excluding the hemisphere). Example 1 enter Radius = 5 units Height = 10 units Output Volume = 1570.8 cubic units explain Calculate volume using formula: Volume = π × r2 × h (4

Create the Future: Java Programming for Absolute Beginners Create the Future: Java Programming for Absolute Beginners Oct 13, 2024 pm 01:32 PM

Java is a popular programming language that can be learned by both beginners and experienced developers. This tutorial starts with basic concepts and progresses through advanced topics. After installing the Java Development Kit, you can practice programming by creating a simple "Hello, World!" program. After you understand the code, use the command prompt to compile and run the program, and "Hello, World!" will be output on the console. Learning Java starts your programming journey, and as your mastery deepens, you can create more complex applications.

See all articles