Wiki: The Code Review of Many Faces\ Arya Stark Method for Reviewing a Code
For agents: Markdown version · Wiki index · Explore
- Speaker: Danielle Shaul
- Event: Reversim Summit 2021
- Video: https://www.youtube.com/watch?v=jS6FxOteQdI
- Transcript: /transcripts/2021/18-jS6FxOteQdI.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Software Engineering, Technical Debt, Soft Skills, Developer Experience
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
This talk explores how to transform code reviews into a more holistic, effective, and empathetic process by adopting five different personas. Drawing inspiration from pop culture, the speaker outlines the roles of the puzzle solver, the detective, the artist, the architect, and the guru to cover everything from context comprehension and bug hunting to code aesthetics, architectural vision, and kindness. The audience learns practical frameworks and actionable tips for delivering feedback that fosters learning and growth rather than friction.
Key points
- 3:39 The speaker shares findings from a study of over 100 code reviews and developer interviews regarding the true purpose of code reviews.
- 6:58 The ‘puzzle solver’ persona focuses on gathering context, reading descriptions, and understanding the big picture before reviewing code.
- 10:03 The ‘detective’ persona actively looks for bugs, edge cases, and missing tests without blindly trusting that the code works.
- 12:12 The ‘artist’ persona evaluates code aesthetics, naming conventions, and readability, applying rules like the eyebrow test for clarity.
- 15:21 The ‘architect’ persona evaluates long-term vision, trade-offs, and scalability, making sure architectural decisions don’t clash.
- 19:40 The ‘guru’ persona emphasizes kindness and constructive phrasing using the THINK acronym to ensure feedback is well-received.
- 24:25 A practical code review exercise analyzes real-world pull request comments to show what makes feedback good or bad.
Takeaways
- Adopt multiple distinct mindsets during code review, moving from understanding context to hunting bugs, refining aesthetics, and assessing architecture.
- Always phrase feedback with kindness and use inclusive language, asking questions rather than making strict demands.
- Ask for feedback on your own code reviews to continuously improve how you communicate with teammates.
Questions this talk answers
- How can developers make code reviews less adversarial and more collaborative?
- What specific steps should a reviewer take to understand the context of a pull request?
- How do you balance nitpicking code style with addressing high-level architectural concerns?
Technologies
JavaScript, Python, PyCharm, WebStorm
Tags
best practices, code quality, code review, communication, developer workflow, team collaboration