DEV Community

Discussion on: How To Start Reviewing Code

Collapse
 
thomasjunkos profile image
Thomas Junkツ • Edited

Thanks for the great article!

One thing made me think:

Asking for more context is okay.

Yes, of course. It should always be okay, to ask for context.
OTOH if someone reviews my piece of code and asks me for clarification or context, I take it as a sign to improve my code.

Usually I strive to make my code as understandable as possible - although there are times, when I have to redo passages. But I find it very important that my code is understandable relatively independend of skill level and context.

At times, I wrote code which I had reviewed immediately by newcomers on the team. And when they did not understand right away what was going on, I redid the passage until they understood. The downside: that takes time, which one -unfortunately - does not always have. But I wish I could do it more often.