This is pretend review. Any PRs you can review like this effectively would not have taken much time to review manually anyways.
Better system is to simply build trust on the team so PRs are rubber stamps going in. That’s how the best teams I worked on prior to AI worked, and it scales very well to post AI. Involves some discussion and agreement prior to the PR being raised.
[3 hidden]5 mins ago
That's an ideal world where you don't work for an underpaying mediocre merger and acquisition Frankenstein corporation where half your team consists of unqualified chuds that your EM inherited and therefore never passed your team's interview standards, and they can't fire because the company won't backfill them.
[3 hidden]5 mins ago
Here's the description of the change from the ticket:
"Intent: A valid CSV replaces a draft campaign’s audience. A file with errors keeps the previous list. Once delivery starts, the list can’t be replaced and the campaign can’t be deleted. The product proposal adds that editors see valid and rejected counts plus downloadable row errors."
That should never have been one change. That's at least _3_ changes.
1) "A valid CSV replaces a draft campaign’s audience. A file with errors keeps the previous list."
2) "Once delivery starts, the list can’t be replaced and the campaign can’t be deleted."
3) "The product proposal adds that editors see valid and rejected counts plus downloadable row errors."
With (2) and (3) possibly becoming multiple changes depending on how the code is architected.
Having all of this in 1 change hints at architectural problems - there isn't proper separation of concerns in the system. At the very least, if there are multiple components, it makes version migration a lot more difficult to reason about - it is possible for the CI system to see software versions which don't represent production. Tests will pass which result in problems when deployed.
[3 hidden]5 mins ago
I laughed at this
Why did code review ever matter anyway?
We code review because:
We care about the architecture and design of the code for its long-term maintainability.
We want to keep shipping at a fast pace, unhampered by technical debt.
We have to keep a mental model of our architecture, or else we can’t reason about it.
Nobody wants the codebase to evolve into a poorly-designed, unrecognizable mess that even Claude can’t reason about!
I don’t know about corporate jobs, but code review has mostly one reason: You intent to change the system and the rest of us wants to know how. Otherwise, you could just sent a message about. Things like maintainability, architecture,… were already a given before the PR is even proposed. Some mistake can be caught there, yes, but that’s not the primary purpose.
That is why so many devs are grumbling. Slop PR authors don’t care about communicating the intent of a change. They had an idea or a task, but they won’t describe their work and its impact on the software system, nor they want to justify their decisions.
What the author said about code review is what should be the guiding principles of programming. It’s already too late at the review stage to check for those. And anyone that fails those regularly is merely a bad engineer. A PR review is not an exam, you shouldn’t propose something that you aren’t sure is already good.
[3 hidden]5 mins ago
Your statement and the author's are compatible. Your statement is just a more proximal reason. You say the reason is:
> You intent to change the system and the rest of us wants to know how.
But why do you care who changes what? Because: you care about long-term maintainability, shipping speed, technical debt, system reliability, policy compliance, and comprehensibility. It is not just because someone is changing something, but because the effects of that change must be controlled. Without these concerns the author mentions, there is no good reason to do code review.
[3 hidden]5 mins ago
> you care about long-term maintainability, shipping speed, technical debt, system reliability, policy compliance, and comprehensibility. It is not just because someone is changing something, but because the effects of that change must be controlled
I mostly gave a rapid glance for those as I knew my colleagues and trust them. And for small PRs, those can be judged quickly. What I want to know is why the code needed to be changed and whether the diff actually does it.
Think of it like preparing an essay as a group and you wanted to add a new paragraph. When you present the updated document. I will not be looking at nice wording, whether the document is properly typeset and what not. What I want is a reason for the changes, whether that reason is valid (true if it was a given task) and whether the output is ok in that regard. Because the actual work is unfamiliar theory and any other concerns, you shared them as well and you should have cleaned up before presenting it.
So technical debt and policy compliance should already be answered before the PR, unless you’re an intern and thus like experience in being a professional at your job.
> It is not just because someone is changing something, but because the effects of that change must be controlled
Not really. I assume that whatever you did is a worthwhile proposition. And high functioning team are fast because of that reason. They send each other good changes. It’s people that does not propose good changes that get their further work scrutinized more and more.
[3 hidden]5 mins ago
A big reason is for sure increased quality through a second pair of eyes looking over it.
While i always care about code and architecture, plenty of others don't.
[3 hidden]5 mins ago
> don’t know about corporate jobs, but code review has mostly one reason: You intent to change the system and the rest of us wants to know how. Otherwise, you could just sent a message about. Things like maintainability, architecture,… were already a given before the PR is even proposed. Some mistake can be caught there, yes, but that’s not the primary purpose.
Disagree. It was to catch mistakes and jank, and we kept doing it because every time we would find some degree of mistakes and jank.
[3 hidden]5 mins ago
PRs should probably include prompt history to reveal intent of change.
[3 hidden]5 mins ago
I don't dread it because the paychecks keep coming in. My company's code quality isn't my problem.
Raise your hand if you get a cash bonus for code quality. Anyone?
[3 hidden]5 mins ago
There are some people and some arguments that might convince me of this thesis, but shameless Claudeslop only makes me doubt it more.
[3 hidden]5 mins ago
This will work great just as long as all the issues you'd want to comment on in the future resemble issues you've actually commented on in the past.
[3 hidden]5 mins ago
We are back in the era of move fast and break things.
[3 hidden]5 mins ago
No, this era is "move faster, and break things in new and exciting ways"
[3 hidden]5 mins ago
Slop.
[3 hidden]5 mins ago
Human-written slop at least
[3 hidden]5 mins ago
Agreed.
Many people like to point out that "humans can create slop too," which is true.
But human-written slop is better than AI slop, even if no slop at all is best.
Better system is to simply build trust on the team so PRs are rubber stamps going in. That’s how the best teams I worked on prior to AI worked, and it scales very well to post AI. Involves some discussion and agreement prior to the PR being raised.
"Intent: A valid CSV replaces a draft campaign’s audience. A file with errors keeps the previous list. Once delivery starts, the list can’t be replaced and the campaign can’t be deleted. The product proposal adds that editors see valid and rejected counts plus downloadable row errors."
That should never have been one change. That's at least _3_ changes.
1) "A valid CSV replaces a draft campaign’s audience. A file with errors keeps the previous list."
2) "Once delivery starts, the list can’t be replaced and the campaign can’t be deleted."
3) "The product proposal adds that editors see valid and rejected counts plus downloadable row errors."
With (2) and (3) possibly becoming multiple changes depending on how the code is architected.
Having all of this in 1 change hints at architectural problems - there isn't proper separation of concerns in the system. At the very least, if there are multiple components, it makes version migration a lot more difficult to reason about - it is possible for the CI system to see software versions which don't represent production. Tests will pass which result in problems when deployed.
That is why so many devs are grumbling. Slop PR authors don’t care about communicating the intent of a change. They had an idea or a task, but they won’t describe their work and its impact on the software system, nor they want to justify their decisions.
What the author said about code review is what should be the guiding principles of programming. It’s already too late at the review stage to check for those. And anyone that fails those regularly is merely a bad engineer. A PR review is not an exam, you shouldn’t propose something that you aren’t sure is already good.
> You intent to change the system and the rest of us wants to know how.
But why do you care who changes what? Because: you care about long-term maintainability, shipping speed, technical debt, system reliability, policy compliance, and comprehensibility. It is not just because someone is changing something, but because the effects of that change must be controlled. Without these concerns the author mentions, there is no good reason to do code review.
I mostly gave a rapid glance for those as I knew my colleagues and trust them. And for small PRs, those can be judged quickly. What I want to know is why the code needed to be changed and whether the diff actually does it.
Think of it like preparing an essay as a group and you wanted to add a new paragraph. When you present the updated document. I will not be looking at nice wording, whether the document is properly typeset and what not. What I want is a reason for the changes, whether that reason is valid (true if it was a given task) and whether the output is ok in that regard. Because the actual work is unfamiliar theory and any other concerns, you shared them as well and you should have cleaned up before presenting it.
So technical debt and policy compliance should already be answered before the PR, unless you’re an intern and thus like experience in being a professional at your job.
> It is not just because someone is changing something, but because the effects of that change must be controlled
Not really. I assume that whatever you did is a worthwhile proposition. And high functioning team are fast because of that reason. They send each other good changes. It’s people that does not propose good changes that get their further work scrutinized more and more.
While i always care about code and architecture, plenty of others don't.
Disagree. It was to catch mistakes and jank, and we kept doing it because every time we would find some degree of mistakes and jank.
Raise your hand if you get a cash bonus for code quality. Anyone?
Many people like to point out that "humans can create slop too," which is true.
But human-written slop is better than AI slop, even if no slop at all is best.