跳到正文
InfoWorld·· 2 小時前AI 評分52

AI 編碼智能體把軟件開發瓶頸推向程式碼審查與項目定義

Where the software development bottleneck went

AI 導讀

作者指出,AI 編碼智能體令軟件開發的瓶頸由編寫程式碼轉向程式碼審查,最終仍落在項目定義及團隊理解需求上。Coding agents 可在數小時內完成大型產品功能,令規劃估時失去意義;程式碼審查等待時間及未經審查便合併的 pull request 比例則上升。不同智能體互相審查可協助防範技術債,但讓團隊理解程式碼與目標仍是技術主管的工作。

正文

It’s not often you get to talk about potato chips twice in one year in a tech column, but here we are.

Back in January, I discussed a fascinating podcast that featured a guy from Frito-Lay, who had the marvelous job of speeding up the potato chip production line. In the podcast, the Frito-Lay guy, Brendan O’Donohoe, discusses Goldratt’s Theory of Constraints — the notion that all processes are limited by a small number of constraints. In my column, I noted that coding is no longer the major constraint in software development, thanks to AI, and I said that figuring out what software projects to do next would become the new hard part. 

Well, I was wrong about that.

I was right about one thing — coding isn’t the bottleneck anymore. I had a laugh with some friends the other day. For years they used the planning poker method of estimating projects, and it worked pretty well for them. I use the past tense because they don’t use it anymore. Over the past few months, every project they tried to specify turned out to be a “1”. Coding agents can write even major product features in time spans best measured in hours, not weeks or months. Trying to figure out how long something would take had become moot, so planning poker became pointless.

Stuck in code review

What I was wrong about was that developers would no longer be the bottleneck. It turns out that we still are — only in a different place. Faros, a software engineering analytics platform, has shown that the bottleneck still lies in the development team’s lap, but not in the coding phase. Code is being written at such a breakneck pace that the work is stacking up in the code review stage. 

It used to be that teams could review code much faster than it could be written, so they monitored metrics like “Mean Time in Review (MTiR).” Teams would work to keep that time down, meaning code was reviewed quickly and efficiently. Well, agentic coding hasn’t been good for that measurement, as teams are finding that their MTiR is growing very quickly. That stands to reason, no? 

So basically we created a different problem within the purview of software developers: reviewing and verifying code faster. Now, this is an interesting problem depending on where you sit. A single developer of an open source project can easily be overwhelmed by incoming pull requests generated by eager fans. A team maintaining a multimillion-line project will find that the code review process is the constraint that keeps them from shipping. Either way, something has to give. 

Sadly, what Faros and other organizations are finding is that the percentage of pull requests merged without any review at all is growing. And that can’t be good. 

In large teams and large projects, code review serves a number of critical functions. First and foremost, it guards against technical debt. It prevents crappy, hard-to-maintain code from making it into the codebase. And while agentic coding is improving rapidly, it still can produce code that you may or may not want to have to look at in six months. In addition, code review serves to keep the team abreast of what the system and the codebase are doing. A good team works to minimize the “percentage of code that most of the team doesn’t understand.” 

The speed of AI coders has changed the job rather drastically. The job used to be “take a lot of time to write code and a little time to review others’ code.” Now the job is “manage the onslaught of code coming into the queue.” 

The ultimate bottleneck

And of course, the first thing many folks will ask at this point is “How can I get AI to solve this problem for me?”

As for fending off technical debt, AI can do that, particularly if you mix and match. Get Gemini to write the code and Claude to review it. Have Grok write and Codex review. Each agent has different ways of developing and different blind spots. Having one keep an eye on another in a changing environment will bring out the strengths in all. 

But keeping your team up to speed with all the code? Clearly, agents that write and review code can’t really do that. And so ultimately, that becomes the task of a good tech lead — to keep everyone on the same page. And this, of course, is where the people enter back into the picture.

If the agents are dealing with the code, then it is the inputs to the agents that are really the important part. If the team understands the inputs and what the end result should be, then the process of defining the project becomes the actual place where humans are most important — and where the real bottleneck resides.

Hey, maybe I wasn’t wrong back in January after all.

Nick Hodges

Nick has a BA in classical languages from Carleton College and an MS in information technology management from the Naval Postgraduate School. In his career, he has been a busboy, a cook, a caddie, a telemarketer (for which he apologizes), an office manager, a high school teacher, a naval intelligence officer, a software developer, a product manager, and a software development manager. In addition, he is a former Delphi Product Manager and Delphi R&D Team Manager and the author of Coding in Delphi. He is a passionate Minnesota sports fan, especially the Timberwolves, as he grew up and went to college in the Land of 10,000 Lakes. He currently lives in West Chester, PA, and can be found on the Internet at https://nickhodges.com.

More from this author

來源:InfoWorld · infoworld.com