9 May 2022 by Phillip JohnstonA common difficulty with code reviews is that they often degrade into debates about style. There is a simple solution to this: do not allow debates on style in a code review. Likewise, do not allow debates on whether or not the style guide is correct. Instead, focus the team on identifying defects and deviations from agreed upon coding standards. The best approach to eliminating debates about style is to automate the formatting process. There are a number of code formatting tools that can be used to specify and enforce a specific coding standard. Have …
Continue reading “Code Reviews are not About Style”
