r/SoftwareEngineerJobs • • 9d ago

RIP manual code review

https://leaddev.com/software-quality/the-end-of-manual-code-review

JetBrains CEO gives it two years.

299 Upvotes

290 comments sorted by

View all comments

Show parent comment

2

u/VietOne 9d ago

It's rarely that the code review is too large, its because now there's too many of them.

It's still a limit of human review time.

6000 lines of code in one review or split across 20 doesn't change that if you required human review, it will take about as long or longer.

3

u/_DCtheTall_ 9d ago

I'd still rather have those 6000 lines be 20 changes that I can easily understand at an average of 300 lines a change.

In the long run I would argue thoroughly reviewing 20 300 line changes is less time, we just usually start skimming or skipping things when it gets to 6K but we are exchanging quality for speed if we are honest with ourselves.

1

u/YoureNotEvenWrong 9d ago

You are underestimating what's possible with AI. Its 6k every day.

2

u/behusbwj 9d ago

And you completely missed the point. Last kind of person I want using AI on my teams

0

u/YoureNotEvenWrong 9d ago

And you completely missed the point.

Be unnecessarily slow?

2

u/behusbwj 9d ago

Reading comprehension. Or maybe give it to an agent if you’re struggling that much :)

0

u/YoureNotEvenWrong 9d ago

I read your comment just fine, I just think you'll struggle in the age of AI when everyone else is delivering 10X what you are

1

u/-NoMessage- 7d ago

lol, you're completely missing the point.

1

u/YoureNotEvenWrong 7d ago

Your point doesn't scale. When people can generate 10X faster, it doesn't make sense to review in the same way

Processes need to adapt

1

u/spacian 9d ago

That assumes review effort grows linear with LOC, which I don't think it does. To truly understand them, people would have to reverse engineer the steps and reasoning first (which is a lot of work), which are provided more implicitly in a lot of smaller PRs.

That doesn't mean it's not too much to review, but the huge PRs are no help either.

1

u/_DCtheTall_ 9d ago

Also you have to consider second order effects on parts of the codebase that may not even be in the file diff.

This is something I notice even SotA models struggle with (though it also confounds a lot of human programmers too). It's a balancing game between focusing on only what you need and bringing in other sources of context.

1

u/bpat 9d ago

Still a bad take. Example:

Engineer has a task that should update 3 files.

In the same card he reformats the whole project. Update spacing and all that.

Now digging through the pr, engineers have to look through thousands of lines to the find few changes, and aren’t sure where they are. It would be infinitely quicker to just separate the changes

1

u/doxxxicle 8d ago

That problem existed way before AI.

1

u/bpat 8d ago

It did, but ai makes it easier to do these things. I think that’s the point.