Code review
Definition
Code review is when another developer, or sometimes an AI assistant under human supervision, checks a code change for correctness, clarity, safety, and fit with the rest of the project.
Why it matters
Code review helps catch bugs, protect existing behaviour, and keep a codebase understandable. It is also a learning tool because reviewers explain trade-offs and project patterns.
Example in VCA
In VCA, learners can use code review to check whether an AI-generated change really matches the task, follows the project structure, and avoids breaking existing flows.
Another Real World Example
A team might require every pull request to be reviewed before it is merged into the main branch.
Common mistakes
- Reviewing only formatting instead of behaviour and risk.
- Approving code without running or checking the affected flow.
- Taking review comments personally.
- Making huge changes that are difficult to review.
- Ignoring tests, migrations, or user-facing wording during review.