Code review can be painful for a new...
April 4th, 2022
Code review can be painful for a new...
Code review can be painful for a new developer. Make sure to tailor your feedback to who wrote the code. As a reviewer, be empathetic towards the author; you are trying to build them up, not tear them down! If there are tons of issues, point out some things you like in the changeset, and ask questions instead of being declarative. Would you rather have comments on your code reviews that say: " "" "- This variable doesn’t belong here " "- Rename this function; it’s not clear " "" "Or: " "- Do you need this variable here? " "- Could this be renamed to something more clear, maybe XYZ? " "" "Minor changes like this go a long way, helping grow others around you #bendevtip
Original post on LinkedIn