C++ Creator Warns AI-Generated Code Adds Bugs, Security Risks, and More Work for Seniors

The debate over AI-generated code has reached a more uncomfortable point: it is no longer just about speed, but about who has to clean up after the machine. Bjarne Stroustrup, the creator of C++, argues that the burden is landing on senior engineers, and some of them would rather step away than keep reviewing output they consider unreliable.

His criticism comes as “vibe coding” gains ground in software teams. Tools such as Claude Code from Anthropic and Codex from OpenAI are being pushed more aggressively into everyday development work, even as questions remain about what happens after the code is generated.

The real cost appears after the code is written

Stroustrup’s main concern is not limited to whether AI can produce something that looks correct at first glance. He says the bigger problem starts later, when experienced engineers still need to verify the result before it can be used.

According to him, AI-written code tends to bring more bugs, more security holes, and larger codebases. That combination makes memory use heavier and makes validation more difficult, which in turn turns senior developers into overworked reviewers rather than builders.

He also points out that AI output can change from one prompt adjustment to the next. That variability forces teams to recheck the code repeatedly, even when the original task seems small.

Why human changes are seen as easier to track

Stroustrup draws a contrast between code written by humans and code written by AI. When a human developer edits a system, the impact is usually more contained and easier to trace.

With AI, he says, it is not always obvious where the change begins or what side effects it may introduce. That uncertainty means teams have to spend more effort figuring out what was altered and how far the change reaches.

In his view, that is one reason the work becomes exhausting for experienced programmers. Instead of focusing on design and implementation, they are pushed into a continuous inspection role.

Some senior developers are walking away

Stroustrup says the pressure is already affecting the people companies need most for validation. He believes some senior engineers are choosing to leave rather than stay in a workflow that feels unstable and draining.

That sentiment has echoed on social media. One X user even said they had left coding because Stroustrup’s assessment felt accurate, especially in cases where backend performance still needs manual attention.

The same user argued that a senior engineer’s mind would resist spending all day validating AI output. They described that task as worse than mentoring junior programmers on a team.

A broader split inside software development

The argument is no longer purely technical. It is also touching workplace culture and the long-term endurance of software teams, especially as more companies make AI a default part of development.

Stroustrup’s skepticism is notable because it runs against the current direction of the industry. Anthropic has said Claude writes almost 90 percent of its own company code, while Meta and Amazon are said to be pushing employees to use more AI for coding as they cut thousands of jobs.

Supporters of AI coding remain highly optimistic. Ryan Dahl, the creator of NodeJS, has even said the era of humans writing code is over, while Google recently claimed its Antigravity 2.0 coding platform could create a new operating system in 12 hours using 93 separate sub-agents.

Human judgment still matters in language design

Despite the growing push for automation, Stroustrup still sees a place where human developers remain central. In language design, the field he has worked in for decades, he believes people will continue to write code using abstraction rather than handing the job over entirely to AI.

That view is consistent with the experience of Ryan Peterman, who said attempts to get AI to produce code in that domain have not worked so far. For Stroustrup, that reinforces the idea that some parts of software development still depend on human judgment more than machine output.

His warning lands at a time when the industry is moving quickly toward more AI-assisted development, but the gap between impressive demonstrations and day-to-day engineering work remains wide. In areas where performance, security, and structure matter most, verification still decides whether the code is actually usable.

Source: www.indiatoday.in
Related