Creator of C++: "AI-generated code isn't ready - it generates more bugs, more bloat, more security holes, and is nearly impossible to validate"
Summary
Bjarne Stroustrup criticizes AI-generated code, stating it introduces more bugs, bloat, and security holes, and is nearly impossible to validate, with senior developers retiring rather than dealing with it.
Similar Articles
Controversial take about the quality of the code generated by AI
The author shares observations about common criticisms of AI-generated code quality, arguing that expectations for perfect, maintainable output from these tools are often unrealistic.
When I reject AI code even if it works
The author explains why they often reject AI-generated code even when it works, citing reasons like inability to explain the approach, overly large diffs, premature abstractions, and reduced system reasoning, and argues for mandatory human review.
@dhh: I think this is (very) wrong, but I still love Bjarne. See how that works? You can disagree with someone, and still man…
Bjarne Stroustrup, creator of C++, criticizes AI-generated code and natural language programming, prompting a response from DHH on disagreeing yet valuing contributions.
On AI Coding and Its Discontents
Cal Newport reflects on the initial enthusiasm for AI coding tools like Claude Code and the growing disillusionment among developers due to hidden bugs, quality issues, and unsustainable workflows, arguing that outsourcing all code production to AI is not currently viable.
AI Generated Code Quality
The article discusses concerns that as AI tools generate increasing amounts of code, future models trained on this synthetic code may suffer from reduced quality and originality, and asks how major AI labs like OpenAI, Anthropic, and GitHub plan to address this issue.