Guide · Devlingo

Nit meaning in code review

Quick answer

Nit meaning in code review: “nit” is short for nitpick, a small, non-blocking suggestion such as a name, a typo or formatting. The author can fix it or skip it, and the pull request can still be approved. Devlingo, an English app for developers, teaches the phrases reviewers use around it.

Updated 2 min readGambit Studio

Use without installing →Free in your browser, no sign-up

Example nit comments

ExampleWhat it means
nit: typo in the comment, “recieve” → “receive”.Fix the spelling, not blocking
nit: maybe rename data to orders?A clearer name is suggested
nit: extra blank line here.Formatting only
nit (non-blocking): could use a constant for 30.Optional improvement
Nit, feel free to ignore: I'd move this import to the top.Clearly optional
Not a nit: this will throw if the list is empty.Blocking, must be fixed

How to reply to a nit

ExampleWhat it means
Good catch, fixed.You applied it
Done in the next commit.You will apply it
I'll leave this one as is, since we use this name elsewhere.Polite no
Let's tackle this in a follow-up PR.Later

Labels that work with nit

Conventional Comments, a common format, adds labels like nit:, suggestion:, question: and issue: so the author knows what blocks the merge. Google's code review guide also recommends marking optional comments as “Nit:” (Google engineering practices).

Related: LGTM meaning, PTAL meaning, code review comment examples.

Learn the phrases, not just the words

Devlingo, Gambit Studio's English for developers app, has over 3,600 phrases for daily standups, code review, Slack, email, meetings and pull requests, ten new ones a day with real context and pronunciation, and a widget with the phrase of the day.

Sources

  1. Google engineering practices: how to write code review comments
  2. Conventional Comments

Frequently asked questions

What people ask most about this, answered with the source.

What does nit mean in a PR?
A minor, non-blocking suggestion, short for nitpick.
Do I have to fix nits?
No. Nits are optional by definition; fixing quick ones is good practice.
What is the difference between a nit and a blocker?
A nit can be ignored; a blocker must be fixed before the merge.
DevlingoLearn tech phrases & speaking
Use without installingGet