The Problem with Code Reviews(fareedidris.medium.com) |
The Problem with Code Reviews(fareedidris.medium.com) |
However to read the code and figure out if it works right? that is hard. Logic errors - rarely found. Code that works but will be hard to update to the next requirement - good luck seeing that.
A long time hire with experience on the code base would conduct more of a "feature review". Does the code address the problem or feature correctly? Is the code adhering to feature requirements? These are things that are answered towards the "feature review" of this code reviewing scale.
The thing is that code reviews are defined as a single action that encompasses that entire scale, making it so that regardless of experience or knowledge of the codebase, reviews by any developer is given the 'ok' once all issues have been resolved.
And this entire thing only applies to code reviews within organizations. Outside of those its even more of a wild west.
It is too easy even when you have been there for years to not do that. Feature reviews are hard and boring. You can look at code, but to understand it is hard and takes time. Much easier to just glance at it, hit approve and move one. I catch myself doing that all the time.