The primary purpose of code review is to find code that will be hard to maintain
1–10 of 193 posts
Re: The primary purpose of code review is to find code that will be hard to maintain
#2Re: The primary purpose of code review is to find code that will be hard to maintain
#3Re: The primary purpose of code review is to find code that will be hard to maintain
#4Re: The primary purpose of code review is to find code that will be hard to maintain
#5People will generally copy and follow existing patterns, so for example if you let somebody add a new internal date time format, then soon your codebase will bifurcate and there'll be multiple inconsistent versions roaming around.
The other stuff (minor bugs, overly verbose code) can easily be fixed. Paradigm rot cannot.
Re: The primary purpose of code review is to find code that will be hard to maintain
#6Maintainability is a major factor in that, of course.
Re: The primary purpose of code review is to find code that will be hard to maintain
#7The primary purpose of code review is to maintain existing hierarchy by preventing junior SWEs from getting promoted by committing code that is smarter than what the senior architect can understand.
Re: The primary purpose of code review is to find code that will be hard to maintain
#8Re: The primary purpose of code review is to find code that will be hard to maintain
#9I think you're missing the point of code review. By the time when the PR is ready to merge, discussions around the architecture and how the code should be structured should already be part of the tech design of a given feature. So the discussion around whether a A feature is built and planned in a maintainable way, should be way before a PR is filed. A PR review is making sure that you verify against the already agre…
Also such approach doesnt work with bug fixes / regressions