Ex-Meta engineer: AI usage generates a fragile codebase blind to issues beyond its context window

vboykis · x · 2026-11-10

vboykis strongly co-signs Evan X. Merz's article "AI usage generates a fragile codebase." Merz suspects his Meta layoff was partly due to being more resistant to AI coding tools than peers — though he still generated at least 90% of his code with AI in his final months (the minimum for a decent rating), and it didn't even 2X his output.

Now at another large tech company where 100% AI-generated code is the expectation, his core observation: AI solves problems that fit in its context window well but is "totally oblivious" to long-term issues outside that frame — unsustainable for highly available, scalable SaaS. He lists four ways AI usage produces fragile codebases, citing examples like a top engineer on his team trying to merge code that used JavaScript events for mouseover effects instead of the CSS :hover selector.

Takeaway: teams heavily reliant on AI are accumulating brittle code and hidden tech debt, and more engineers are realizing this isn't sustainable for large-scale products.

Original post →

More from coding & agent

coding & agent channel →