[Paper Review] Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programming
The paper compares human-human pair programming with human-AI pAIr programming, reviewing contexts, measures, moderators, and future research directions, and highlights mixed results and measurement gaps in pAIr studies.
The emergence of large-language models (LLMs) that excel at code generation and commercial products such as GitHub's Copilot has sparked interest in human-AI pair programming (referred to as "pAIr programming") where an AI system collaborates with a human programmer. While traditional pair programming between humans has been extensively studied, it remains uncertain whether its findings can be applied to human-AI pair programming. We compare human-human and human-AI pair programming, exploring their similarities and differences in interaction, measures, benefits, and challenges. We find that the effectiveness of both approaches is mixed in the literature (though the measures used for pAIr programming are not as comprehensive). We summarize moderating factors on the success of human-human pair programming, which provides opportunities for pAIr programming research. For example, mismatched expertise makes pair programming less productive, therefore well-designed AI programming assistants may adapt to differences in expertise levels.
Motivation & Objective
- Assess how human-human pair programming and human-AI pAIr programming differ in interaction, measures, benefits, and challenges.
- Identify moderators that influence success in human-human pair programming and explore their relevance for pAIr programming.
- Summarize current evidence of quality, productivity, satisfaction, learning, and cost across both paradigms.
- Discuss design implications and opportunities to improve AI programming assistants as partners.
Proposed method
- Review and synthesize existing literature on human-human pair programming and human-AI pAIr programming.
- Compare outcome variables (quality, productivity, satisfaction, learning, cost) across paradigms.
- Identify moderators (task type, compatibility, communication, collaboration, logistics) from human-human studies and map to pAIr context.
- Discuss theoretical and practical implications for AI as a pair programmer and future research directions.
Experimental results
Research questions
- RQ1What similarities and differences exist between human-human and human-AI pair programming in terms of interaction and outcomes?
- RQ2What moderators known to affect human-human pair programming might inform the design and evaluation of human-AI pAIr programming?
- RQ3What are the current limitations of pAIr programming measurements, and how can they be expanded?
- RQ4How can AI programming assistants be designed to adapt to different expertise levels and communication styles?
- RQ5What deployment contexts (industry vs. education) are most suitable for human-AI pAIr programming?
Key findings
- Both human-human and human-AI pair programming show mixed results across quality, productivity, satisfaction, learning, and cost.
- pAIr programming currently lacks comprehensive, validated measurement frameworks compared to human-human pair programming.
- Moderators such as task complexity, compatibility, communication, collaboration, and logistics influence human-human pair programming and offer opportunities for pAIr improvements.
- AI partners could be designed to adapt to different expertise levels and communication styles to enhance effectiveness.
- Three-way comparison (human-human, human-AI, human-solo) is suggested as a valuable future research design.
- There are ongoing debates about whether AI-assisted coding should be treated as true pair programming or a new programming paradigm.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.