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
- You finish a change on a feature branch and raise a pull request.
- One or more reviewers read the changes and leave comments.
- You reply, make fixes, and push updates to the same pull request.
- 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.
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
- Pull Request (PR): where code reviews usually happen.
- Code Quality: what reviewers are checking for.
- Merge: what happens after a review is approved.
- Constructive Feedback: the kind of comments a good review gives.
- Feature Branch: the branch your reviewed changes live on.
Previous term: Code Quality | Next term: Coding Assessment
Related guides
- What to Do in Your First Week of an IT Internship
- IT Internship Success Guide
- Common IT Internship Mistakes
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