Evan X. Merz argues that AI-generated code leaves codebases fragile
A former Meta programmer ties shallow AI tests and overly complex code to rising incidents
For Evan X. Merz, code turns fragile at the handoff from the agent to the human reviewer: each pull request lands faster than the last and gets a quicker read. He makes the case in an essay on AI and fragile codebases, dated November 7 on his blog. Merz was laid off from Meta in May and now works at another large tech company; the essay surfaced on Hacker News on November 10.
He points to shallow automated tests that exercise trivial getters and setters and repeat scenarios the suite already covers, gaps that line-level coverage numbers hide. He also flags code with more helper methods than the job needs, plus one concrete case: one of the strongest programmers on his team tried to merge mouseover effects built on JavaScript events instead of the CSS :hover selector.
The deeper risk, in his account, is lost understanding. Who on the team can still tell when a new abstraction clashes with the existing data structures? The symptoms he describes are more frequent incidents, slower recovery and errors that only real users run into. The argument rests on his own observation rather than on incident data that would allow comparisons between teams.
For teams already generating most of their code with agents, the open choice is where that understanding lives: in the review of each pull request, or with an owner per module who follows the generated changes.