Back to News
Advertisement

Ask HN: How do you review AI code?

wwonderfuly about 3 hours ago 2 comments

HI version is available. Content is displayed in original English for accuracy.

This is important, but I haven't seen enough discussion about it.
Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 89 words in the discussion.

Trending Topics

#review#code#coding#standards#once#functionally#doing#looking#try#keep

Discussion (2 Comments)Read Original on HackerNews

scaredreallyabout 2 hours ago
- I review once the code is functionally doing what I am looking for.

- I try to keep the features small so that the code is manageable.

- After manually reviewing, I ask it to review the code. Assuming you have coding standards well defined, you will find that it may not follow those standards during development so having an isolated review step seems to provide better results.

iouovonoiabout 2 hours ago
My workflow is basically:

1. Explain the goal.

2. Tell it the constraints (readable, simple, don't overengineer).

3. Give it our repo structure and coding conventions.

4. Let another model review it.

5. Group the feedback by category instead of one long list.

It's easier to work through the review that way.