Developers Felt 20% Faster With AI. A Study Found They Were 19% Slower.
From the publisher’s feed, collected in the ZeroLabs newsroom.
Picture the last time you got stuck on a bug. Maybe you turned to a teammate and said, “Can you look at this with me?” Or you just explained the problem out loud to an empty chair, and the answer popped into your head halfway through.AI pair programming is the same idea, with a new kind of partner. It isn’t a robot taking your job, and it isn’t a coworker suddenly becoming a machine. It’s a tool that sits beside you while you work, helping you get from an idea to tested, reviewable code with less friction.This post explains what that looks like in daily work, why it can help, and where it can quietly go wrong. I’ll also share what recent research says, because the full picture is more interesting than the hype.What “pair programming” meansIn classic pair programming, two people work on one task. One writes the code (the driver) while the other watches, asks questions, and catches mistakes (the navigator). They swap roles now and then. Two minds see more than one.With an AI partner, you’re still the one steering. You decide what to build, how to build it, and whether the result is good enough. The AI helps with the slower, more repetitive parts. Think of it as someone sitting beside you who never gets tired of answering questions.What an AI assistant can actually doModern coding assistants can help in many ways:Turn a plain-language description into working code, in many languagesExplain confusing code or logicHelp find the cause of an error and suggest a fixSuggest cleaner or faster approachesWrite tests and documentationGive feedback on your code as you write itTeach you a new framework by answering follow-up questionsThat last point is underrated. For many people, the biggest benefit isn’t speed. It’s having a patient tutor available at any hour.A day in the “inner loop”Developers talk about the inner loop: the small cycle of understanding a task, writing code, testing it, and reviewing it, over and over. AI can help at each step.Plan. You describe the feature, the files involved, and any limits. The AI suggests an approach or points out things you haven’t considered.Design. You describe your architecture in words, and the AI turns it into a first draft.Code. You can drive while the AI reviews as you type, or you can let the AI write a draft and guide it with feedback.Test. The AI drafts test cases while you focus on getting the logic right.Debug. When something breaks, it helps explain what might be happening and suggests fixes.Document. Notes and docs get written alongside the code, not left to the last minute.Improve. You and the AI refine the solution based on what you learned.The best part is that this all happens inside the tools you already use. You don’t have to keep jumping between forums, tabs, and search results. Help arrives in the context of the exact code in front of you.Three real benefits1. Better code quality. Constant, light review catches bugs and design problems earlier, when they’re cheap to fix. More eyes, even artificial ones, usually means steadier code.2. Easier knowledge sharing. AI can explain a tricky function on request and help document a feature in detail. New team members can ramp up faster by asking questions at their own pace, without worrying about interrupting someone.3. A more enjoyable job. When repetitive work shrinks, you spend more time on the parts people actually like: solving problems and being creative. Fewer blockers means more momentum.There’s a bigger shift behind all three. The emphasis moves toward understanding systems and designing solutions, while routine implementation gets handed off.The part people often skip: it only works if you’re engagedHuman pair programming fails when one person zones out. The same is true here. If you accept everything the AI produces without thinking, you’re not collaborating. You’re just copying.AI can be confidently wrong, especially when it doesn’t know your business rules or the history of your codebase. That’s why review still matters. A good rule is that the AI can do, but you should still decide.Now, let’s look at what research says, because two studies are worth knowing about.Does it really make you faster?Many people assume the answer is a simple yes. A careful study suggests it depends on the situation. The nonprofit METR ran a randomized controlled trial with 16 experienced open-source developers completing 246 tasks in mature projects where they had about five years of prior experience on average. Before the tasks, the developers predicted AI would cut their completion time by 24%, but the result was that allowing AI actually increased completion time by 19%.Even more interesting, after the experiment, participants still believed AI had improved their productivity by about 20%. In other words, it felt faster even when it wasn’t.Before you panic, notice the limits. The researchers cautioned against broad conclusions and said they don’t claim AI coding tools fail to improve productivity across the board. The test used very large, familiar codebases and tools from early 2025. The researchers acknowledged the results don’t mean current AI tools don’t often improve productivity, and noted gains may differ for less experienced developers or those working in unfamiliar code. The honest lesson is: don’t trust the feeling of speed. Measure it.Does it help you learn?This one matters most if you’re early in your career. In January 2026, Anthropic published a randomized trial about learning with AI help. Developers who relied on AI while learning a new programming library understood the underlying concepts less well. The AI group averaged 50% on a follow-up quiz, compared with 67% for the group that coded by hand.But the finding wasn’t “AI is bad for learning.” It was that how you use it matters. Participants whose interaction patterns showed cognitive engagement scored 65% to 86%, while those with low-scoring patterns scored only 24% to 39%. The stronger learners used AI not only to produce code but to build understanding, by asking follow-up questions, requesting explanations, or posing conceptual questions.One more honest note: this was a short, one-hour task using a chat interface, and the study was published by a company that makes AI assistants, which makes the finding more notable because it could cut against its own business interest. Even so, treat it as one useful signal, not the final word.How to pair well with an AIPutting the research and the video’s advice together, here are habits that work:Ask “why,” not just “what.” After the AI writes something, ask it to explain the logic. That small step separates a learning habit from a copying habit.Give context. Describe the goal, the constraints, and the files involved. Better context produces better help.Review everything. Read the code as if a new teammate wrote it. Run the tests. Don’t merge what you can’t explain.Try it yourself first sometimes. When you’re learning something new, struggle a little before you ask. Productive effort builds skill.Use it for the boring parts. Boilerplate, test scaffolding, and documentation are great places to delegate.Check your own speed. If you think AI is saving time, track it for a week. The result may surprise you.Keep the big decisions. Architecture, trade-offs, and whether something is truly correct stay with you.The bottom lineAI pair programming doesn’t reduce the need for skill. It changes where skill shows up. You’ll likely spend less time writing code from scratch and more time defining problems, designing systems, and judging whether a solution is good.Great software won’t be written by AI alone. It will come from developers who work alongside AI, learn faster, and stay curious about why things work. The tool is powerful, but the thinking is still yours.Developers Felt 20% Faster With AI. A Study Found They Were 19% Slower. was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.