13 suggestions to improve your own technology in daily Java development

15763849:

foreword

In daily development, we are all doing business needs , how to improve our technology? Therefore, this article has sorted out 13 suggestions for improving technology , friends, let's work together.

1. Lay a solid foundation and learn language features in depth

For example, for Javaprogrammers, it is necessary to understand Javathe basic concepts and core features of the language, including object-oriented programming, collection framework, exception handling, multi-threading and so on. You can learn by reading Javaofficial documentation, tutorials, reference books, or online resources.

If the most basic foundation is not solid, don't talk about improving technology. For example:

  • Do you know HashMap和ConcurrentHashMapthe difference?
  • When to use it ConcurrentHashMap? when operating files
  • Do you know finallyhow to release resources in blocks?
  • Do you know which scenarios are suitable for generics?

Therefore, to improve one's own technology, the first thing is to lay a solid foundation . Some friends say that they don’t have time to learn the basics at work, but that’s not the case. For the basics, you can take the subway to and from get off work every day, check it when you get home after work, and watch it at home on weekends. Write more code, usually one or two Months, your foundation is very good.

Some friends also said, how to improve the Java foundation? Can:

  • Read Java-related books or tutorials , such as Java programming ideas, Java core technology, Java virtual machine, rookie tutorials, etc.
  • Read Java blogs and participate in community discussions : Follow blogs, forums, and communities in the Java field to learn about the latest technology trends and solutions, and communicate with other developers.
  • Practice more, code more : find a Java basic video at station B to watch, practice more and code more

2. Familiar with commonly used development tools

If a worker wants to be good at his work, he must first sharpen his tools . Therefore, a good programmer often has higher coding efficiency. To improve coding efficiency , it generally requires familiarity with and flexible application of tools. For example Eclipse、IntelliJ IDEA、Maven、Navicat, etc. Familiarity with these tools can improve development efficiency.

Let me give you an example. For example, if you are familiar with IntelliJ IDEAthe shortcut keys, you can setter和gettergenerate the method of the entity class in two or three clicks, while some programmers are still typing slowly line by line. .

3. In daily work, summarize the pitfalls you have stepped on

An excellent programmer is excellent because he will summarize the pits he has stepped on and avoid repeating the same mistakes . Therefore, Brother Tianluo suggests that if you step on any pitfalls in daily development, you need to summarize them. After dinner, review and review .

For example, you know:

  • What pitfalls may there be in the use of Redis distributed locks?
  • What are the pitfalls of thread pool usage?
  • What are the pitfalls of Java date processing?
  • Arrays.asListWhat pitfalls may there be?

4. At work, read your project's excellent code and design documents

Confucius said that when three of us walk together, there must be my teacher . When you usually look at the code, don't always complain about the bad code of the project. In fact, you can pay more attention to well-written code , and then understand why others write it, and copy it to write it.

Of course, some good design documents are also: why people design in this way , where are the advantages and disadvantages, if you design, how do you think, etc. After reading a good design, record it and turn it into your own knowledge .

5. Summarize some common technical solutions in daily work.

In daily work, pay attention to sorting out some common technical solutions.

For example, idempotent design, how to design distributed locks, distributed transaction design, interface optimization, current limiting design, sub-database and sub-table design

It is also recommended that you, in daily development, summarize some general design solutions you have encountered, and familiarize yourself with these general technical solutions.

6. Participate in technical discussions and actively share technology

Participating in technical discussions and exchanges can help you share experiences, solve problems, and learn new knowledge with other Java developers . Sharing technology can deepen your understanding, build a professional reputation, promote personal growth, contribute to the technical community, and more.

For example, you can discuss and discuss with experienced colleagues or technical leaders about some difficulties you encounter in making requirements. Some common problems can be recorded after the discussion, and then do technical sharing .

7. A sense of ownership, actively overcome the problems of the project

As a development engineer, it is very important to have a sense of ownership and actively overcome the problems of the project . When encountering more difficult problems in the project, we must take ownership of the problem , be proactive in finding solutions and taking action, no matter whose problem it is.

And in the process of technology finding solutions, we also grow. After overcoming the problem, you will also be recognized by the leader, and good performance will not be far away .

8. Think about what can improve efficiency in the project

In daily development, almost most programmers are adding, deleting, modifying and checking . How to avoid becoming an ordinary CRUD programmer.

I think it can be done like this: in daily work, think about what can improve the efficiency in the project. Including familiarity with development tools, mastering appropriate debugging skills, familiarity with common frameworks, continuous learning, and attention to technological development , etc.

for example:

  • Good debugging skills can help you quickly find problems
  • Another example is a plug-in easyyapithat allows you to quickly generate yapiinterface documents with one click, instead of manually typing interface documents one by one.

Of course, in daily development, there are still many techniques/tools that can improve efficiency, waiting for us to discover .

9. Familiar with your business, make yourself not easy to be replaced

Most of our ordinary programmers are doing business . Generally working for more than five years, the level is not much different. How to avoid yourself being eliminated? My personal suggestion is to try to be familiar with the business you do so that you will not be easily replaced.

10. Look at your system more, what problems may exist, such as time-consuming interface, slow SQL, etc.

The general system has some problems more or less. For example, the interface takes too long, slow SQL, frequent fullGC, etc.

First of all, you need to master these skills, such as how to optimize the interface, how to optimize slow SQl, how to check fullGC, etc.

11. Apply what you have learned and apply theoretical knowledge to practical projects

Many friends said that after reading a lot of computer-related books, reading a lot of blogs, and memorizing a lot of stereotyped essays , they still can't make a system well.

I think that everyone can think more and apply the accumulated things to actual projects. Memorizing stereotyped essays is not useless, you can apply it to actual development.

On the surface, this seems to be a common stereotype knowledge point, which seems to be useless in work . But I use this similar asynchronous idea at work :

For example, a batch transfer is initiated, but the batch transfer process is time-consuming. At this time, the back-end can first inform the front-end that the transfer has been submitted successfully, and then notify the front-end of the result after the result is processed.

12. Read the source code of some excellent frameworks, such as spring, rockectMq, etc.

If you have spare time, I suggest you look at the source code of some optimization frameworks, such as spring、rockectMqetc.

For the spring source code, you can come by module, for example, aop,控制反转,spring事务you write one first demo, then debugtrack the process, step by step through the debugger to track the source code execution process, and observe the calling relationship and data changes of each method. It is best to combine e-books together, such as ( Spring源码深度解析this book together)

The source code of the excellent framework, we can learn a lot of coding ideas, come on.

13. Code more, be less lazy, develop a good habit of programming

As a programmer, you must type more codes, don't be lazy, if you type more codes, you will get it. Also, be less lazy and persevere! effort! Develop a good habit of loving programming .

In short, improving technology requires continuous learning, practice, summarization and accumulation of experience .

Guess you like

Origin blog.csdn.net/wdj_yyds/article/details/130848211