No code reviews by default
raycast.com
No code reviews by default
1–10 of 315 posts
Re: No code reviews by default
#2I can’t necessarily say this approach would work everywhere but it’s nice to see companies critiquing and challenging methodologies.
Re: No code reviews by default
#3Code reviews are not a tool intended mainly to catch bugs. Types, automated tests and manual tests are going to do the bulk of your bug-catching after all. Code reviews' more relevant purpose is to act as QA for the code itself far more than it is to verify if the code achieves what it sets out to do. This is in service of both maintainability (which impacts your ability to make future changes and staff retention) as well as performance (by introducing the chance for another dev to detect suboptimal approaches).
Once your teams grow, code piles up, and static analysis can't cover all your bases, either your team corroborates the code that you write matches/defines group standards; or each developer's careful design accumulates as "organic growth" carefully duct taped together to barely work.
And just to state the obvious, code reviews are merely a tool to achieve this. Pair programming is another.
Re: No code reviews by default
#4Re: No code reviews by default
#5I also don't know how smart it is to brag about, seems like just asking for something to go wrong.
Re: No code reviews by default
#6Re: No code reviews by default
#7Is that why we do code reviews, because we don't trust each other? I find this attitude problematic. We do code reviews because humans make mistakes. Requirements can be misinterpreted. Different work in progress can be in conflict with each other. Reviews are a good way to learn from each other and keep abreast of what work is occurring outside your own bubble. Not doing code reviews because of "trust" kind of misses the point.
I find even just cursory and brief code reviews are beneficial and often pick up on issues. It also creates a more collaborative team and gives me a reason to communicate with devs I might not otherwise communicate with, even if that is just a brief comment on a PR.
Rejected.
Re: No code reviews by default
#8> Pull requests don't prevent bugs Pull requests find bugs on every software and hardware team I have ever participated in. I cannot imagine living without this process. PRs increase knowledge and awareness of features. I fully concede that it is discouraging in some circumstances, but those tend to be the exception, not the rule. Most often it’s discouraging around a core set of individuals who bring more dogmatism…
Re: No code reviews by default
#9I also wonder if there are typically 0 reviews or typically 1 — that is, are people even reading their own changes before they push them.
Re: No code reviews by default
#10Is this some anti-vax satire?
Of course pull requests (code reviews) reduce bugs. And of course some slip through. It doesn't need to be 100% to be useful.