📜 ⬆️ ⬇️

Translation: Instructions for conducting code review

Not so long ago, my colleague translated an interesting article on code review, I liked the translation. And this morning, the tangled count of crosslinks brought the eyeofhell to an even steeper article. Your attention is invited to the translation of a brief but concise instructions on how to make a review of someone else's code and survive the review of their own. Unlike the above-mentioned article, this one focuses more on the practical aspects of code review and contains many useful recommendations on how and what to do so as not to be painfully painful. Hint: to read the original, click on the author's name in the plate under the translation.



For all participants code review


')


If your code has undergone code review





If you want to subject code review to someone else's code



First of all, try to figure out why this code was written. Is this a bugfix? New feature? Refactoring? Bloody mess of all of the above? Then:



Code Design Notes



If you see that the code explicitly violates the coding style adopted by the team, it is useful to point this out during code review. If it turns out that someone on the team does not agree with this style, then the discussion is recommended to be put on a separate ticket.

Source: https://habr.com/ru/post/272469/


All Articles