Code review

10 thẻ

Review deck này
Tất cả thẻ trong deck

Ba nguyên tắc comment (Google eng-practices)

comment về code không về người; giải thích vì sao; ghi rõ mức độ

`nit:`

góp ý nhỏ theo sở thích, không chặn merge

`(blocking)` / `(non-blocking)` (Conventional Comments)

phải giải quyết mới merge / không chặn merge

"Why you do this?"

`What's the reason for doing this here? I might be missing some context.`

"Please fix it." (không nói fix gì)

`This fails when items is empty. Could you add a guard?`

Lỗi bảo mật phải sửa, nói rõ mà lịch sự

`blocking: This is open to SQL injection. Please use a parameterized query.`

Đã sửa theo review

`Good catch, fixed in a1b2c3d.`

Sẽ làm ở PR sau

`Good point. I've opened #612 to handle this in a follow-up.`

Phản biện review (ghi nhận, lý do, mở lối)

`I considered that, but a map would lose the insertion order, which the UI needs. Happy to change it if you feel strongly.`

Nhờ review lại sau khi sửa

`I've addressed all comments. PTAL when you have a moment.`

Code review – Flashcards – English | Học Dev