NewsCrawler.org

AI usage generates a fragile codebase

AI usage generates a fragile codebase
Image: news.hada.io

The author, a software developer, suspects he was laid off from Meta in May partly because he was more cautious than his peers about using AI coding tools. He says he wrote at least 90% of his code with AI in his last months there, but AI did not even double his output. He saw code from colleagues who relied heavily on AI as brittle, and he now writes all of his code with AI at another large tech company, because that is the current expectation.

He describes four ways AI makes a codebase fragile. AI writes shallow tests that miss what matters to users, and its end-to-end tests[1] cover only cases already in the codebase. It writes overly complex code, using several helper methods where one would do, and it follows rules such as DRY[2] to a fault. Heavy reliance on AI also leaves developers with less understanding of data structures, and AI produces pull requests faster than people can review them, so small problems like testing gaps and poorly named variables accumulate.

He also lists four signs of a fragile AI-generated codebase: more incidents, longer recovery from them, errors that only real users encounter because the code does not catch them properly, and a poor user experience. He calls the last one a vicious cycle of enshittification[3]. He argues that products for people need a human perspective, and that the most expensive, high-quality products will be built by human developers.

Read the original evanxmerz.comDiscussion on GeekNews

Sources

Earlier in this story

  1. AI Is Gradually Eroding Our Coding Skills
  2. Farewell, Programmers: Author Argues AI Is Devaluing Software Work

The whole story · 3 →

Published: First seen: Читать по-русски

Open as a page