News for hackers. Stuff that matters.
Re:No code reviews by default by buttersbrian on Tuesday January 04, 2022 @04:17PM (#29800666)
If it catches ANY bugs it is objectively better than no PR/code-review from a bug standpoint. Unless you're arguing that pr/code-review creates more bugs than it solves?

Again, I think the question is value. Is a dev's time best used in code-review vs. something else? It's almost certainly the case that time is better spent elsewhere depending on the develop and needs or the organization.

Re:No code reviews by default by munchbunny on Tuesday January 04, 2022 @04:30PM (#29800816)
I think the question is the same one as "do bike helmets reduce bike injuries?" I.e. without code reviews, is everyone more careful? I can't think of any proper academic research that answers the question.

In my anecdotal experience, there is at least one class of bugs that code reviews are good at catching that a large expenditure of self-review effort often doesn't catch: security bugs.

Re:No code reviews by default by Abroszka on Tuesday January 04, 2022 @04:36PM (#29800892)
> If it catches ANY bugs it is objectively better than no PR/code-review from a bug standpoint.

No, that's false. That's only true if you also assume that people write the same quality code whether there is a code review process or not. Which might or might not be true, no idea.

Re:No code reviews by default by cunac on Tuesday January 04, 2022 @05:25PM (#29801556)
if anything I would think that person would write same code but without PR would lost the opportunity of having better quality. People are blind to own mistakes. I can't count how many times I would stare at a code not seeing something and other person would spot problem almost immediately.