We don’t have time for code reviews
21–30 of 67 posts
Re: We don’t have time for code reviews
#22Re: We don’t have time for code reviews
#23Earlier quoted context omitted.
I don't know, code review without running the code is a very very light variant, too light to call it code review I believe.
Code review is about reviewing the code. That's literally what the name says. CI runs the tests, QA test the final behavior, code review checks the code.
CI may run the tests, but that assumes your tests have captured every possible edge case. It may be the intention of tests to be comprehensive and cover everything under the sun, but that is rarely the case in reality.
Ditto QA - they should be able to black-box test the software and all of its possible states, but in reality something is going to pass through the net.
Having a dev run the code themselves and poke around in it is just a plain good idea.
Re: We don’t have time for code reviews
#24Earlier quoted context omitted.
Code review is about reviewing the code. That's literally what the name says. CI runs the tests, QA test the final behavior, code review checks the code.
That's nice in theory, but in practice another dev really should be running the code and doing some manual testing. Having full knowledge of the innards allows a competent dev to foresee potential trouble spots in the architecture and hit some edge cases to make sure they don't break. CI may run the tests, but that assumes your tests have captured every possible edge case. It may be the intention of tests to be compr…
Re: We don’t have time for code reviews
#25Earlier quoted context omitted.
Are code reviews by non-programmers actually common? How can that possibly work?
I've seen 'code reviews' that were in fact functionality checks. So it's more like a 'check if this code works'. And I can tell you: a web form capable of SQL-injections is still 'working code'. So it gets a positive 'code review'.
Re: We don’t have time for code reviews
#26Proper code review provides much more benefit than cost and is indispensible for quality software. Improper code review is a waste of time (or worse). Proper code review is done: - by another programmer - by someone with some knowledge of the application - by someone with some knowledge of the environment - against some code standard - against standard requirements (APIs, database, etc.) - with a checklist - uniforml…
Re: We don’t have time for code reviews
#27Agree with this: pull requests are code reviews. Web UIs with visual diffs make this even more efficient.
I don't know, code review without running the code is a very very light variant, too light to call it code review I believe.
We have tests in place to help stop regressions, but sometimes seeing a change in action can really help to put the corresponding code in context.
Most of my team uses hub, but you can check out a pull request easily enough with git:
git fetch +refs/pull//head
git checkout FETCH_HEADRe: We don’t have time for code reviews
#28Re: We don’t have time for code reviews
#29Re: We don’t have time for code reviews
#30Proper code review provides much more benefit than cost and is indispensible for quality software. Improper code review is a waste of time (or worse). Proper code review is done: - by another programmer - by someone with some knowledge of the application - by someone with some knowledge of the environment - against some code standard - against standard requirements (APIs, database, etc.) - with a checklist - uniforml…
Are code reviews by non-programmers actually common? How can that possibly work?