For IT people, changing a job or entering a new company often means getting familiar with a new development environment and quickly understanding new projects. for IT people, changing a job or entering a new company often means getting familiar with a new development environment and quickly learning about new projects. How to quickly familiarize yourself with the project code is a problem that every IT person may encounter. this problem is even more difficult for new graduates of the IT industry. The following are some of my methods after I have finished my work. I 'd like to share with you some of my ideas!
1. read the requirement document to understand the purpose of the project;
For an enterprise-level project, some related documents will be retained! For example, requirement documents, design documents, project plans, etc. read these documents first to understand the purpose and main functions of the project.
2. familiar with development tools and common functions;
The development environment used by each company is somewhat different. you should be familiar with the new development environment, understand common functions, shortcuts, and so on, especially the development environment with relatively different use habits, for example, from MyEclipse to IntelliJ IDEA. Java development environments use MyEclipse and Intellij IDEA. C ++ is a lot more, from VC6 to VS2008, VS2010, VS2012, VS2013 are all used, there are some open source development tools such as Qt.
3. deploy the environment and run the project;
After learning about the development environment, deploy related configurations and run the project. Benefits: 1. you can further practice the new development environment; 2. after running the project, you can quickly understand the purpose and functions of the project.
4. view the entire code and understand the code structure;
View the code as a whole, and have a grasp of the overall structure of the project code. It is best to draw out the class diagram. you can use some UML tools (such as EA and PowerDesign) to reverse engineer the source code to export the class diagram.
5. carefully read some of them;
For an enterprise-level project, especially a large project or a project with deep accumulation, you should be familiar with all the code at once. Select a part of the project, such as a small function. start from the interface and follow up step by step through the debug mode to familiarize yourself with the entire project.
6. try to modify some program bugs;
Modifying bugs is the best way to get familiar with projects. Based on the bug, locate the problem location step by step through the debug mode, and then analyze the cause of the problem. When you can modify bugs and modify several bugs, it means you have a certain understanding of the project and are familiar with the structure and logic of the project.