My First Code Review Had More Comments Than Lines

I arrived at my IBM internship this summer with three years of projects, a published paper and a private belief that I basically knew how to build software. That belief lasted until my first pull request came back. It had more review comments than lines of code. The part that stung wasn’t the number. It was that not a single comment questioned whether the code worked, because it did work. Every one of them was about whether anybody else would be able to live with it.

Writing for a stranger at 2am

Every project I’d built had exactly one reader: me, at that moment, holding the whole design in my head. Code on a team is written for a stranger, perhaps a colleague debugging something at two in the morning, or perhaps me in eight months with all that context gone. Once I understood that, every practice I’d privately considered excessive started to make sense. A function called process that took a variable called df2 and stored results in temp was perfectly clear to me and actively hostile to anyone else; renamed to say what it actually filtered and why, it explained itself. A clever chained one-liner I was rather proud of came back with a polite request to break it into named, obvious steps. The reviewer was right. Clever code serves the writer’s ego, and readable code serves the team’s speed.

Error handling was the deeper lesson. In my own projects an exception meant “it broke, I’ll look later.” On the team, every failure path was a decision someone had to make on purpose. If an upstream service times out, do we retry, and how many times? If one record in a batch is malformed, do we skip it, or reject the whole batch? Do we alert a human, or quietly queue the work for later? That discipline reached well beyond the internship for me. Everything I’d learned about agents the previous term, compounding errors, confident wrong outputs, loops that never end, is a story about unhappy paths. I’d been treating them as an afterthought when they are actually most of the design.

What “done” means

My first task took several times longer than I estimated, and not because the logic was hard. I had estimated only the logic. My idea of done had been “it works on my machine.” The team’s idea was that it works, there are tests proving it works, there’s logging that would let someone diagnose it at three in the morning, the errors are handled rather than just raised, the documentation explains it, the pipeline is green and the review is approved. None of those extras is glamorous, and together they’re most of the job.

I’d used Git for years, but only alone, which means I’d used about a fifth of it. Branches, pull requests, review threads and a protected main branch reframed version control as a coordination tool rather than a backup system. The thing I came to appreciate most about the build pipeline wasn’t the automation. It was that it made quality standards impersonal. Nobody has to nag you about tests, because the build simply refuses to go green without them. There’s no politics and no awkward conversation. I also finally started writing commit messages that explain why a change was made, rather than the long wall of “fix” and “update” in my personal history. A commit history is the only documentation that’s automatically dated and impossible to backfill.

Constraints you never see in college

The new category was everything that shapes technical decisions inside a large organisation and simply doesn’t exist in student work. Data governance determines what data you may use, where it may live and who may see it. Security review means every new dependency is a new risk someone has to sign off. Some decisions have to be auditable long after they’re made. Every bill has an owner. And the operations team needs to be able to run the thing without calling you. I arrived judging tools by what they could do. I left understanding that “which library or model is best?” usually turns into “which one is approved, auditable and supportable?” That isn’t bureaucratic friction. It’s what makes software safe to run on other people’s data, and the systems I most want to build are exactly the ones that touch sensitive material.

Where research habits paid off

The pleasant surprise was how much of my paper-writing discipline transferred directly. A methodology section and a reproducible build are the same idea in different clothes: pin the dependencies, document the environment, and make sure someone else can get the same result. The question I’d trained myself to ask of every paper, what is this being compared against, turned out to work perfectly in a stand-up meeting, and it made me useful in design discussions earlier than my experience justified. Clear writing turned out to be a technical skill too. On a team, the person who can explain a decision well in a design note or a pull request description has more influence than their seniority would suggest. And because my co-authors had already taken apart drafts I was proud of, a long list of review comments read as engagement rather than judgment, which probably spared me a miserable fortnight.

The habits I’m keeping from being junior are simple. Ask early, and ask specifically, in the form the senior engineers used: here is what I’m trying, here is what I tried, here is what I expected and what happened instead. Find out why a ticket exists before starting it, because occasionally that reveals a much simpler solution. And write everything down; my running notes of unfamiliar terms and environment quirks had become a small handbook by the end of the summer.

Final year starts now, and I want to chase the thing I’ve been circling for months: models that no longer work only with text. When evidence arrives as images, audio and structured records all at once, how do you combine it, and how would you know whether the combination actually helped?

Leave a Reply