The provided text outlines a structured approach to giving feedback during code reviews, categorizing comments into different levels of severity and formality. Here's a summary and cheat sheet based on the information:
Summary
-
Level 0 (Positive Feedback): Use when you want to acknowledge something that is good or well-implemented.
- Example: "Nice — this handles..."
-
Level 1 (Nit): Minor suggestions for improvement, which can be ignored if not relevant.
- Prefix:
Nit: - Example: "Nit: maybe X instead of Y?"
- Prefix:
-
Level 2 (Suggestion): Suggesting an alternative approach or implementation that could improve the code but is not critical.
- Prefix:
Suggestion:/Consider.../Another option: - Example: "Consider using parameterized queries."
- Prefix:
-
Level 3 (Question): Asking for clarification or seeking to understand a specific part of the code better.
- No prefix needed, just ask questions like:
- "What is the purpose of this?"
- "Why did you choose X over Y?"
- No prefix needed, just ask questions like:
-
Level 4 (Concern): Indicating
Read the full article at DEV Community
Want to create content about this topic? Use Nemati AI tools to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



