Wiki: Ignites, Developers like winning: use gamification to promote code reviews
For agents: Markdown version · Wiki index · Explore
- Speaker: Tzach Zohar
- Event: Reversim Summit 2015
- Video: https://www.youtube.com/watch?v=_V1T8-AS0EA
- Transcript: /transcripts/2015/37-_V1T8-AS0EA.md
- Language: Hebrew · Type: ignite · Level: general
- Topics: Software Engineering, Developer Experience, Productivity, Engineering Management
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
This talk explores how the speaker used gamification to improve the code review process within their team. Developers often resist code reviews because they prefer writing new code or feel uncomfortable giving and receiving criticism. By leveraging human psychology and the desire to win, the speaker introduced a tool that counts GitHub comments and displays a leaderboard. This simple, point-based system significantly increased participation and review volume without offering any monetary rewards.
Key points
- 0:07 Code reviews are widely acknowledged as important, but developers generally prefer writing new code over reviewing others.
- 1:21 Human psychology is highly responsive to point systems and leaderboards, even when there are no real prizes or financial incentives.
- 2:29 To gamify code reviews effectively, the process needs to be quantified automatically rather than tracked manually.
- 2:29 An open-source tool called GitHub comment counter was developed to track and count review comments as a proxy for review activity.
- 3:37 Displaying the leaderboard publicly in the office kitchen successfully drove healthy competition and increased engagement.
- 3:37 The introduction of the leaderboard resulted in a dramatic increase of 170 percent more comments and 200 percent more reviews.
- 4:42 Gamification naturally introduces side effects like playful trash-talking and occasional gaming of the system for points.
Takeaways
- Use automated metrics like comment counts to quantify and track developer activities like code reviews.
- Introduce public leaderboards to harness natural human competitiveness and boost team engagement.
- Keep gamification simple and frictionless, relying on intrinsic motivation and recognition rather than financial rewards.
Questions this talk answers
- How can we encourage developers to participate more actively in code reviews?
- What is an effective way to measure code review activity without manual tracking?
- How does gamification influence team culture and software engineering processes?
Technologies
GitHub
Tags
code review, developer productivity, engineering management, gamification, team culture