Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarHabr AI→ original

Reviewing vibe code: how Claude Opus writes beautiful C++ that doesn't work correctly

Generating code with AI has become easy — but checking it now matters more than ever. Using markus, a project written by Claude Opus, the PVS-Studio team shows how beautiful C++ can hide problems with decomposition, efficiency, and security. Code review skills are moving to the forefront.

AI-processed from Habr AI; edited by Hamidun News
Reviewing vibe code: how Claude Opus writes beautiful C++ that doesn't work correctly
Source: Habr AI. Collage: Hamidun News.
Listen to article

Beautiful AI-written code isn't necessarily good code. PVS-Studio's specialists put that claim to a practical test by reviewing markus, a small project generated entirely with Claude Opus.

Vibe coding — where a developer describes a task to a language model and accepts the output with almost no changes — is gaining popularity. It lowers the barrier to entry and speeds up prototyping. But it also raises the risk: code accepted without review can look professional and read easily while still containing architectural and logic errors that surface only under load or with specific inputs.

The authors took markus, a small C++ program created by Claude Opus, and gave it a full review. The results are telling. The code gives the impression of being optimized and well structured, but a careful look reveals poor decomposition, incorrect implementations of individual functions, efficiency concerns, and potential security vulnerabilities. None of these problems jump out on a quick read — AI knows how to make code look convincing.

That's to be expected. Language models are trained on vast amounts of source code, and they reproduce stylistic patterns and syntactic constructs with high accuracy. But a model isn't responsible for runtime behavior, doesn't test edge cases, and doesn't think about how the code will be maintained six months from now. That responsibility stays with the human.

This shifts where an experienced developer's value lies. Almost anyone can now write a function with a prompt. But understanding whether it's implemented correctly, whether it fits the architecture, and whether it creates debt for the future still requires expertise. In the era of AI-driven development, code review is turning from a supporting process into the key quality filter.

PVS-Studio's materials point out that static analysis tools are especially relevant right now, as the volume of generated code grows faster than teams' ability to review it manually. Automated analysis doesn't replace review, but it helps catch what the eye has learned to overlook.

The takeaway is simple: read AI-generated code as critically as you would a junior developer's code during their probation period. Clean formatting and a confident style are no guarantee of correctness. The ability to see past the facade is exactly what sets a strong engineer apart in 2025.

Story
ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Reviewing vibe code: how Claude Opus writes beautiful C++ that doesn't work correctly https://news.hamidun.com/en/news/6781/reviewing-vibe-code-how-claude-opus-writes-beautiful-c-that

What do you think?
Loading comments…