Intermediate Vocabulary #code-review #pr-culture #engineering

Code Review Language

5 exercises — the vocabulary every developer needs to give and receive code reviews professionally in English: approval phrases, design principles, code structure terms, and review etiquette.

Core code review vocabulary clusters
  • Approval phrases: LGTM, approved, request changes, blocking, non-blocking, nit
  • Design principles: DRY, KISS, YAGNI, SOLID, separation of concerns, Law of Demeter
  • Code structure: guard clause, early return, cyclomatic complexity, happy path, sad path
  • Testing: unit test, integration test, test coverage, mock, stub, edge case, TDD
  • PR etiquette: drive-by comment, bike-shedding, rubber stamping, PR size, reviewer fatigue
  • Actions: extract, refactor, abstract, inline, flatten, simplify, hoist
0 / 5 completed
1 / 5
A reviewer writes in a pull request comment:
"LGTM — minor nit on the variable naming but nothing blocking. Ship it."
What does LGTM mean, and what is a nit?