Kod incelemesi, bir TL'nin en yüksek etkisine sahip aktivitelerinden biridir: kaliteyi korur ve öğretir. Hedef daha iyi kod ve daha güçlü bir takım, kapı bekçiliği değil. İncelemeler hızlı, nazik ve önemli olan şeylere odaklanmış olmalıdır.
Ilkeler
✓ Review the CODE, never the person ("this function" not "you")
✓ Distinguish must-fix from nice-to-have (label nits explicitly)
✓ Ask questions, don't issue commands ("what about X?" invites discussion)
✓ Praise good work, not just problems
✓ Be fast — a PR blocked for two days kills momentum
✓ Approve when it's good enough, not perfect
Somut bir örnek
"Bu yanlış, bir map kullan" demek yerine şunu yazın: "nit: burada bir map iç içe döngüyü önler, buna değer mi? Bloke etmiyor." Aynı nokta, ama öğretir, anlaşmazlığa yer bırakır ve birleştirmeyi engellemiyor.
