Code Review
Glossary
Every Code Review term in plain words, with the module that teaches it. Inside modules, any word with a dotted underline explains itself.
Code Review · 17 terms
- AI code review
- Tools that use large language models to read a pull request and leave review comments, and sometimes suggested fixes. Fast, but they can lack context and be confidently wrong.
- Learn it in “AI in code review” →
- Approval
- A reviewer's formal sign-off that a change can be merged. Teams often require one or more approvals, sometimes from specific code owners.
- Learn it in “The review flow” →
- Blocking comment
- A review comment that must be resolved before the change can merge, usually about correctness, security or a serious design problem.
- Learn it in “Blocking issue or nit?” →
- Bus factor
- How many people could leave a team before some part of the code has nobody left who understands it. A bus factor of one is a risk.
- Learn it in “Choosing reviewers” →
- Code health
- How easy a codebase is to understand, change and trust. Google's guide says to approve a change once it definitely improves code health, even if it isn't perfect.
- Learn it in “What to look for” →
- Code review
- A colleague reading a proposed change before it's merged, to find problems, share knowledge and keep the code consistent.
- Learn it in “Why review code” →
- Commit message
- The text saved with each commit explaining what changed and why. A short first line summarises it for anyone skimming the history.
- Learn it in “Describing your change” →
- Diff
- A view of exactly what changed between two versions of code: lines added, removed and left as context. Reviewers read the diff of a pull request.
- Learn it in “Reading a diff” →
- Merge queue
- A queue that tests each approved change on top of the others waiting to merge, so two changes that pass alone can't break the main branch together.
- Learn it in “The review flow” →
- Nit
- Short for nitpick: a minor, optional review comment, such as a small naming or wording preference. Often prefixed “Nit:” so the author knows it isn't required.
- Learn it in “Blocking issue or nit?” →
- Pull request
- A proposed change to a codebase plus a description, opened for review before merging. GitLab calls it a merge request; Gerrit calls it a change.
- Learn it in “Anatomy of a good pull request” →
- Review comment
- A note a reviewer leaves on a pull request, usually attached to a line. Good ones are specific, explain why and suggest a way forward.
- Learn it in “Giving useful feedback” →
- Review latency
- How long a change waits for a reviewer to respond. Usually much longer than the review itself, and a major cause of slow delivery.
- Learn it in “Turnaround time” →
- Review thread
- A comment on a pull request and the replies to it, usually attached to specific lines. Threads are resolved when the concern is dealt with.
- Learn it in “Responding to feedback” →
- Ship / Show / Ask
- A way of choosing review per change: Ship merges with no review, Show merges and asks for review afterwards, Ask waits for review before merging.
- Learn it in “Alternatives to pull requests” →
- Stacked changes
- A chain of small pull requests where each builds on the one before, so a big piece of work can be reviewed one small step at a time.
- Learn it in “Small changes” →
- Weak test
- A test that passes whether or not the code is correct, for example because it asserts nothing, checks only a type, or tests a stub instead of the real code.
- Learn it in “Reviewing tests” →
A
B
C
D
M
N
P
R
S
W
General terms · shared by every track
- ACID
- Four guarantees for transactions: Atomic (all or nothing), Consistent (rules hold), Isolated (concurrent work doesn't interfere), Durable (once done, it stays done).
- Learn it in “ACID on object storage” →
- Atomic
- All or nothing. An atomic change either happens completely or not at all, and nobody ever sees it half done.
- Think of it as: Handing over a sealed envelope: the other person has it or doesn't. There's no half-handed envelope.
- Learn it in “Object storage: the ground floor” →
- Batch processing
- Processing data in scheduled chunks, such as every night or every hour.
- Learn it in “Getting data in” →
- CSV
- Comma-separated values: plain text, one row per line. Easy to read, slow and large for analytics, and no schema.
- Learn it in “Rows vs columns: file formats” →
- Idempotent
- Safe to run twice: running the job again gives the same result instead of duplicating data.
- Learn it in “Medallion architecture” →
- JSON
- A text format of nested key-value objects, like {"id": 7}. Common for app events and APIs, and used by Delta's transaction log.
- Learn it in “Rows vs columns: file formats” →
- Metadata
- Data about data: which files exist, their schema, sizes and statistics. Engines read metadata first to plan work.
- Learn it in “What makes a table a table” →
- Schema
- The structure of a table: its column names and types, such as order_id: long, amount: decimal.
- Learn it in “Schema evolution & enforcement” →
- SQL
- The standard language for querying tables: SELECT … FROM … WHERE …
- Learn it in “Hands-on: query in your browser” →
- Streaming
- Processing data continuously as it arrives, within seconds or minutes.
- Learn it in “Getting data in” →
- Transaction
- A group of changes that succeeds or fails as one unit.
- Think of it as: A money transfer: debit one account and credit the other, or do neither.
- Learn it in “ACID on object storage” →
A
B
C
I
J
M
S
T