Back to Coding

How Do You Get Feedback on Code You Wrote?

How Do You Get Feedback on Code You Wrote?
AI Tutorials Team 9 May 2026

The largest gap in teaching yourself to code was always that nobody read your work. You could produce something that ran and never find out that it was structured badly, and that gap is now closeable in a way it was not.

Why is the default response unhelpful?

Because it is kind. A model shown code somebody wrote responds with encouragement, a few suggestions and an overall positive assessment, which is pleasant and tells you nothing about whether the code is any good.

Agreement is a trained behaviour rather than a judgement, and it applies here as everywhere else.

What framing produces real criticism?

This was submitted by a candidate for a junior developer role. Assess it as a technical reviewer would. What would concern you, what would you ask them about, and would you progress them. Be specific about what is wrong rather than what could be improved.

Attributing the code to somebody else changes the response substantially, which is uncomfortable and effective enough to use routinely.

The framing works because it removes you from the exchange. Feedback on your work is softened by the same trained tendency that softens everything else, and code presented as somebody else's is assessed rather than encouraged.

What should you ask about specifically?

  • What breaks it. Inputs that would cause failure or wrong output.
  • What an experienced person would do differently. And why.
  • What will be painful in six months. Which surfaces structural problems.
  • What I appear not to understand. The most valuable question available.
  • What I did well. Separately, and last.

Why ask what you appear not to understand?

Because code reveals misconceptions that questions do not. Somebody's approach shows what they think the language does, and a reviewer can name the gap behind a choice in a way the person making the choice cannot.

This is the closest thing available to having somebody watch you work.

Asking for the single most important change is also worth doing, since a list of eleven improvements produces no action and one produces a habit.

Should you ask for a rewrite?

Not first. A rewritten version is easy to accept and teaches very little, where a list of specific problems requires you to make each change and understand why.

Asking for the rewrite afterwards, once you have made your own attempt, is a reasonable way to compare.

How do you handle disagreement?

Ask for the reasoning rather than accepting or arguing. Some feedback is preference dressed as a rule, and asking what would go wrong if you did it your way separates the two quickly.

Where the answer is nothing, it was a preference.

What can it not tell you?

Whether the code fits a system it cannot see, whether the approach suits your team's conventions, and whether the thing you built was worth building. Those still require a person.

What should you do with the feedback?

Pick two things and change them in the next project, rather than fixing everything in this one. Feedback on finished work is most valuable as a set of habits to adopt, and applying it retrospectively to something already working is frequently effort for very little.

Keeping a running list of the points that recur is the version that compounds. After four projects the repeated items are your actual weaknesses, which is considerably more reliable than any individual review, and they are usually a shorter list than the reviews suggested.

How often is this worth doing?

On anything you finished, once. Ten minutes at the end of a project, with the harsh framing, produces a list of specific things to do differently next time, which is the feedback loop that self-teaching otherwise lacks entirely.