Skip to content
RCreddit.com·

What to do with bad code created by Codex?

AI summary

A developer working with nodejs is encountering issues with code generated by Codex (sol/astra). While Claude performs adequately, Codex produces "bad code" for complex tasks, including unnecessary helpers, over-securing simple elements, and failing to implement requested features while adding unrequested ones. The developer is seeking solutions from others who may have experienced similar problems with Codex-generated code.

Time & source

Times shown in UTC

Display time zone: UTC

Local time zone unavailable; showing UTC.

PublishedOffset at this time: UTC+0Sep 12, 2026, 12:34 UTC

IngestedOffset at this time: UTC+0Sep 12, 2026, 14:01 UTC

Published
Sep 12, 2026, 12:34
Ingested
Sep 12, 2026, 14:01
Source type
Dev community
Tier
Community
Source status
Healthy

Tier is a per-source editorial setting, not a per-item score.

Article

I am working with Claude and it does the job. But when I am asking Codex (sol/astra) to do some complex task, its creating bad code. I am working with nodejs. It comes with many helpers, over secure each simple thing, does things i didn't ask for and does not do things I asked for.

The half of code may be deleted without any problem.

Maybe someone have same problems and found solution?

Source·reddit.com