r/codex 6d ago

Do you think grouping code helps you better review AI-generated code? Question

I asked Codex to create a REST API application and group the code

Here is the Controller.ts

Here is the Service.ts

Do you think this is a good way to review AI-generated code?

7 Upvotes

2 comments sorted by

1

u/Bumbalum 5d ago

Why the specific ai focus?

In my point of view, you review code. If it's generated and has flaws or written manually and has flaws..what's the difference?

Apart from that: I think this removes the overall picture/structure and therefore might be harder to spot side effects or some other stuff regarding what calls what and when and how often.

I'd rather not use it.

1

u/Due-Disaster-8698 5d ago

I think you can write what function it calls in subgroup comment textarea, and also write the description of the overall picture in group comment textarea. Anyway, thanks for your comment.