Code Review: When teammates read your code changes before they are merged, to catch problems, share knowledge, and suggest improvements. It usually happens on a pull request.

Example

You raise a pull request for a new search filter. A senior developer comments that a variable name is unclear and that empty input will crash the function. You fix both, reply to each comment, and the change is approved.

How a Code Review Works

  1. You finish a change on a feature branch and raise a pull request.
  2. One or more reviewers read the changes and leave comments.
  3. You reply, make fixes, and push updates to the same pull request.
  4. Once reviewers approve and checks pass, the change is merged.

What Reviewers Look For

  • Does the change do what the task asked?
  • Are edge cases handled, such as empty input or missing data?
  • Is the code clear, with good names and no duplication? See code quality.
  • Are there tests, and do they pass?
  • Does it follow the team's conventions and avoid security problems?

You can learn more from a month of honest code reviews than from a semester of tutorials. The interns who grew fastest were the ones who read every comment carefully and never needed the same comment twice.

Dhaivat Ajwaliya From the interview roomDhaivat Ajwaliya, 16+ years interviewing interns

How to Handle Review Comments

  • Treat comments as free lessons, not criticism of you.
  • Reply to every comment: fix it, or explain politely why you chose differently.
  • Ask when unsure: "Do you mean I should move this check into the service layer?"
  • Don't repeat the same mistake in your next pull request; reviewers notice.

Make Your Changes Easy to Review

Keep pull requests small and focused, write a short description of what changed and why, and review your own diff first. A 50-line change gets a careful review the same day; a 2,000-line change waits and gets a weaker one.

Related terms

Previous term: Code Quality  |  Next term: Coding Assessment

Related guides

Frequently asked questions

What is a code review?

A code review is when teammates read your code changes before they are merged, to find problems and suggest improvements.

What do reviewers check in a code review?

Correctness, edge cases, readability, tests, team conventions, and security issues.

How should an intern respond to code review comments?

Read each comment carefully, fix it or explain your reasoning politely, ask if unclear, and avoid repeating the same mistake.

Can interns review other people's code?

Often yes. Reviewing others' pull requests is a good way to learn the codebase, even if a senior also reviews.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.