- For example, if you go to a company, and then start by downloading the company's old code, then the old code is familiar with the company, if the project was done two or three years ago, then until now, assuming there are 100,000 lines of code, then let you familiar with the old code, and then on the basis of the old code, Add new function module, is very bitter, sometimes, do not know how to start. If you want to read from one line to the next, then when you spend a lot of time reading it, nothing is done, and after that, you forget it. At this time, it seems very sad urge ...
- Method: Search
- So we can change the demand without having to read someone else's code. We search the page, the page and the controller, make notes, save, and then you can in the future changes, slowly familiar with the company's old code
- After recording, if we want to change again later, we will this controller. h put it in and search it out.
- Will find the code, comment, comment on the current method, or an adjacent method, see what affects the content, and then remove the comment again, verify that it is the affected code
- Find the code, in the corresponding method, directly return, do not let him execute the content inside
Of course there may be a better way to look forward to sharing.
Experience-how to quickly get familiar with your company's old projects