The code representation must be performed before the changes are transferred to version control, otherwise it will be too late, and then, if something is not right / not optimal, you will have to cancel the changes and perform another command action that could have been avoided earlier .
First you need to find a suitable regter reviewer. There are two aspects to consider when choosing your reviewer.
- He knows about the business logic for which you changed the code, so he can also focus on it, in addition to the technical part (resource management / scalability / performance / style and style of design in your company / formation).
- He has no idea about this / or the changes are purely technical, and he can focus only on this part, so in the end he can say: "I donβt know what the code does, but it looks normal to me."
Secondly, it is not realistic if you change the business logic, and everyone should be able to perform the technical part.
Then create a set of changes in which you can easily see the changes made to each file (using diff), an explanation of why you changed each part (change / reorganization / optimization / method signature / field, method or class added or deleted, etc. .d ..)
A good strategy to go through all the changes is to start where the actual processing begins and go to the end.
If you have created some new module, it is always a good idea to have diagrams (class diagram, activity, sequence, etc.).
source share