当前位置:网站首页>How to quickly familiarize yourself with the code when you join a new company?

How to quickly familiarize yourself with the code when you join a new company?

2022-06-25 02:01:00 Nin-Ja-

Look at the document first

Design documents are like the design drawings of a building , Let's have an intuitive understanding of the whole system .

So , For new recruits , Be sure to get on well with your colleagues, especially your senior brother , Buy milk tea for others , Please have lunch or something , Programmers are generally kind-hearted , It's easy to be moved .

Your follow-up questions and answers are bound to trouble others , Of course, people may also share with you some useful technical documents , Don't look at this , It is very important for you to get familiar with the system quickly .

Particular attention : There is usually some lag between documents and code , For example, repair online bug、 Or some small needs , There may be no document updates , If there are many iterations of such requirements , Then the inconsistency between the document and the code will be very large .

Remember a little , The documentation is just a reference , Don't believe it all . Otherwise you will be badly hurt !

All things are interlinked

Everything is skillful , Just like the Chinese teacher taught us how to write compositions when we were young , Total score 、 Subtotal 、 Total score total , You must be familiar with these framework ideas .

For example, the above system architecture , Of course, each company's system is similar .

First , The top business input layer , It could be a page , It may also be external API Interface

Either way , We can quickly turn it into a use case diagram . Through user stories , Help us understand the core functions of the whole system first , Let's have a personal sense of the business system .

There is food at home , Not panic in the heart .

then , It's the other end , you 're right , Is the underlying relational storage , Set the... Of the business table ER Figure quick restore

Regardless of the middle Service layer 、Manager layer 、infrastructure How complex the layer is , The final data must be stored on the disk . It takes seven inches to fight a snake , To solve problems, we should focus on the main contradictions .

When we put the business table ER After the relationship is restored , We can basically from top to bottom , Find out the business quickly .

An architect with a little experience 、 How domain experts build the system , An outline plan will be formed in mind .

Then take this idea , Let's look at the code , Constantly correct your own assumptions . It's like walking with a flashlight , It won't darken your eyes .

Colleagues solve their doubts , Result demonstration

Yes, of course , You've been looking at the code for days , I feel I understand a lot , But it lacks a sense of being down-to-earth .

Maybe you also collected some questions , There is no answer yet .

You can find students who are familiar with the system , Take some time to answer questions . Of course, you can also talk about your personal understanding of the system , Listen to others' feedback , Verify that your understanding is not biased . Teaching and learning will make you progress faster .

If you happen to be the boss , That's a lot easier , You can arrange modules for which team members are responsible , Sort out the output use case diagram 、 Class diagram 、 State machine 、 Sequence diagram 、 flow chart 、 Architecture, etc , It has not only trained the logical thinking ability of the young partners 、 Presentation skills , It also provides more information input for you to be familiar with the system .

Last

The forefathers planted trees , Descendants cool . Whether you are the original author , Or did you take over later , Technical documents must be continuously constructed . As more and more people take over and pay attention to the construction of documents , To make the code logic explicit 、 Clarity , It also facilitates our continuous optimization and upgrading . Instead of being in a state of constant confusion .

The golden nine and silver ten will begin soon , I've sorted out some java Technical data and interview question set , For everyone to upgrade , Whether you want to get started or want to interview and change jobs, consolidate the foundation , You can get one for free .

Here are some screenshots , Free download method is attached at the end of the article .

Chapter one : The basic chapter

 picture

Second articles :JVM piece

 picture

Third articles : Multithreading & Concurrent articles

 picture

Fourth articles :Spring piece

 picture

Chapter five :MyBatis piece

 picture

Chapter 6 :Spring Boot piece

 picture

Chapter 7 :MySQL piece

 picture

Chapter eight :Redis piece

 picture

Chapter 9 :Spring Cloud piece

Chapter 10 :Nginx piece

 picture

Chapter 11 :MQ piece

 picture

Chapter 12 : Data structure and algorithm

 picture

Chapter 13 :Linux piece

 picture

Chapter 14 : Resume

 picture

Last

The whole document has nearly 200 page , In order not to affect everyone's reading experience, only part of the content is displayed , Hope to help you review before the interview and find a good job , It also saves time for people to search information on the Internet to learn !

Click on the business card below if you need , Scan the code for free .

原网站

版权声明
本文为[Nin-Ja-]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206242153273784.html