See the main points of open source

The quickest way to become an IT gurus is to look at open source programs, so what questions should you think about when looking at open source programs?
① When looking at the variables, methods, parameters, implemented interfaces, and inherited classes in the program, think about where they come from?
②What is the sequence of execution of program calls?
③ How does it realize the transmission of these parameters and the successive invocation of methods?
④Why call and pass parameters like this, and what are the advantages and disadvantages of doing so? What did you learn from it?

At a higher level, you need to understand what his architecture is like, why he is structured like this, whether his engineering structure is reasonable, etc.



       Looking at open source code must not stop at the level of understanding code, you must see the programming thinking and thinking of open source people; you must understand the advantages and disadvantages of other people's programming, and how to apply good programming ideas to your own projects. , Do you have a better idea? In fact, it is much better to read an open source code seriously than to read it extensively. Some people say that they are talking about how many projects they have seen, and they can talk about their technology, but if they really make something, they will pee. Why? The understanding is superficial, and it is caused by not understanding other people's programming ideas.


       It is easy to delve deeply into some problems of the computer. For example, when you use a parameter in a class, you will think about its source; if it is passed from another class, you will Look at the method inheritance, interface calls, and specific details in the class in another class; in this way, it is easy to reach the support of your development kit; of course, you will be even more dizzy when you enter this development kit. Then you are faced with an important decision: should you continue down the road, or do you not know what to do? Then go down and think that it takes more time and energy to get the results you want. It is possible that you go further and further away from your original intention of seeking knowledge; You can never improve to become a big cow, because the principle you don't understand can only be achieved simply. The starting point is one level lower than these big cows; the choice at this time should be based on your schedule at that time. If you have time, you might as well In-depth research and research, after all, we have to know it and know why; if you don't have that time, you can write it down first, and you can study it when you have time. Sometimes it's just a matter of skill, and you don't have to be too fussy. Working in a technology enterprise requires not only the ability to quickly learn new technologies and apply new technologies, but also the ability to conduct in-depth research and digging into the realization of technology; the ability to learn quickly is to meet the needs of the rapid development of enterprises, but the ability to conduct in-depth research is to maintain The long-term development of enterprise technology is the key for enterprises to enhance their technological competitiveness.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326747304&siteId=291194637