🚩 Why are AI-generated texts flagged but code isn’t?

by•

There’s a growing tendency to flag AI-generated text. There’s even a term for low-quality AI-generated content - AI slop.

And honestly, I understand why.

Communication should feel real. If every comment, post, or message is generated by AI, the picture becomes blurry.

But then I have a question.

AI is now generating huge amounts of code, UI, documentation, copy, and even product ideas.

And when AI generates the code behind a product, there can be real issues too - security, bugs, hidden dependencies, or simply code that nobody fully understands.

There are also dozens of memes among developers about the classic rule:

“If the code works, but you have no idea how… don't touch it.” =D

Yet we don't usually see a product marked:

This product was built with AI-generated code.

So why is AI-generated text a problem, while AI-generated code is mostly accepted?

Is that fair? =D

What do you think?

8 views

Add a comment

Replies

Best

I think one of the big differences between the two, is code-based AI changes are often gated through code review. Most source code platforms offering PR-style workflows, allow the workflow to involve a human-reviewer that often validates, or rejects code generated because of these issues. Also, because of automated tools like vulnerability scanners, etc it generally means the quality of the integrity of the code is superior. Ultimately of course, code has to compile, it has to test well, these are further gates that signify the quality of the generated code.

AI based free text is a different issue - are there platforms and tools out there that allow the same fidelity of gated checks that code-based offers? If not, honestly maybe that could be a niche product right there?