-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce recommendation of 400 lines for a single review meeting (50 to upper limit of 200) #18
Comments
Interesting! I think the number 400 emerged from a few studies (e.g. the Microsoft one). But I would guess that these studies are aimed at developers who a re going to review on their own for about an hour straight (e.g. reviewing a PR) wihout much interaction with the author. In this context 400 loc seems reasonable. But in the case where that hour is about conversation over a piece of code - 50 loc makes sense |
Doing a bit more literature review on this topic, the oft quoted "400 loc per review" does indeed come from industry settings. Some of them include:
So, overall I think @NickleDave 's suggestion of 50 to 200 lines is supported by the literature, and ultimately it will be through our tests of the material that we find out whether that is a good range since there isn't really any directly analogous studies out there about this particular type of review. |
It's the second one on the refs page:
|
Thank you @bielsnohr for finding all these references. You are very right; these mainly make a strong case that most work on code review focuses on large tech teams |
from The Turing Way site:
|
Met with Pat Schloss yesterday re: code clubs paper
He did take a look at the site in progress and one thing he commented on was that 400 lines is a lot of code!
In their paper they recommend ~50 lines
I see similarly in this Fernando Perez post on code review (from #17) a suggestion for roughly 50 lines, 200 max
http://fperez.org/py4science/code_reviews.html
Along with this could be a recommendation that if you can't isolate around 50 lines of code it might be an indicator you need to do some refactoring?
The text was updated successfully, but these errors were encountered: