Ask HN: How do you code review?

In the past year, from my personal experience in 2 different companies, the amount of PRs has increased dramatically, and each PR is getting much bigger.

How do you approach code review when dealing with large and high volume AI-generated code?

3 points | by idose 1 hour ago

2 comments

  • davydm 17 minutes ago
    Review is the bottleneck in those scenarios - and it's a _good thing_.

    AI-gen code is often subtly (or obviously) incorrect. Human eyeballs are the cure. There is no way to go faster without compromising the value of the review.

    What I've been super annoyed about recently is the number of times I've seen a completely stupid question on a PR - eg "why are you doing this?" when there's a comment right above that line about the why. Or "where else is this used?" - we all have IDEs and reviewers obviously have access to the code - stop being a lazy potato and check out the code locally.

    I try to avoid adding these lazy people to PRs as they create more work than they help. But sometimes they end up on there anyway, because they're "important".

  • bkvmiester 40 minutes ago
    [flagged]