[Paper Review] Pair versus Solo Programming -- An Experience Report from a Course on Design of Experiments in Software Engineering
This study evaluates pair versus solo programming in a software engineering course using a controlled experiment with 21 junior students (7 pairs, 7 individuals). Results show a 28% reduction in development time with pair programming and a 30% decrease in perceived effort with solo programming, both significant at α=0.1, indicating trade-offs between time efficiency and cognitive load depending on programming mode.
This paper presents an experience report about an experiment that evaluates duration and effort of pair and solo programming. The experiment was performed as part of a course on Design of Experiments (DOE) in Software Engineering (SE) at Autonomous University of Yucatan (UADY). A total of 21 junior student subjects enrolled in the bachelor's degree program in SE participated in the experiment. During the experiment, subjects (7 pairs and 7 solos) wrote two small programs in two sessions. Results show a significant difference (at alpha=0.1) in favor of pair programming regarding duration (28% decrease), and a significant difference (at alpha=0.1) in favor of solo programming with respect to effort (30% decrease). With only a difference of 1%, our results regarding duration and effort are practically the same as those reported by Nosek in 1998.
Motivation & Objective
- To investigate the impact of pair programming versus solo programming on development duration and perceived effort in a real-world educational setting.
- To provide empirical data on programming efficiency and cognitive load using a structured design of experiments (DOE) approach in a software engineering curriculum.
- To validate or contrast findings from prior studies, such as Nosek (1998), in a modern academic context with controlled variables.
- To offer a replicable experimental framework for teaching design of experiments in software engineering courses.
Proposed method
- Conducted as part of a Design of Experiments (DOE) course at the Autonomous University of Yucatan (UADY), involving 21 junior software engineering students.
- Participants were assigned to either pair programming (7 teams of 2) or solo programming (7 individuals) conditions.
- Each subject completed two small programming tasks across two sessions, with duration and effort measured using standardized metrics.
- Duration was recorded as wall-clock time from task start to completion; effort was assessed via self-reported perceived workload.
- Statistical analysis applied hypothesis testing at α=0.1 to compare mean duration and effort between pair and solo conditions.
- The experimental design followed principles of controlled experimentation, including random assignment and consistent task specifications.
Experimental results
Research questions
- RQ1Does pair programming reduce development time compared to solo programming?
- RQ2Is there a significant difference in perceived effort between pair and solo programming?
- RQ3How do the results compare to prior studies, such as Nosek (1998), in terms of duration and effort metrics?
- RQ4What are the trade-offs between time efficiency and cognitive load in different programming modes?
Key findings
- Pair programming resulted in a statistically significant 28% reduction in development duration compared to solo programming (p < 0.1).
- Solo programming led to a statistically significant 30% reduction in perceived effort compared to pair programming (p < 0.1).
- The difference in duration and effort between pair and solo programming was minimal (1%) compared to findings from Nosek (1998), indicating consistency across studies.
- Despite differences in time and effort, the overall performance gap between modes was small, suggesting that both approaches are viable under controlled conditions.
- The results support the use of both programming modes depending on project constraints—pair programming for faster delivery, solo for lower cognitive load.
- The study demonstrates the feasibility and educational value of using real experiments in software engineering courses to teach DOE principles.
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.