7. What
is
Pair
Programming?
• code
is
produced
by
two
people
programming:
– on
one
task
– on
one
workstaFon
• Two
keyboards
(opFonal)
• Two
mice
(opFonal)
• Two
monitors
mirroring
(ideally)
46. Back
in
2000
Cockburn
and
Williams…
• for
a
development-‐Fme
cost
of
about
15%
• Pair
programming:
– Improves
design
quality;
– Reduces
defects;
– Reduces
staffing
risk;
– Enhances
technical
skills;
– Improves
team
communicaFon;
– It’s
more
enjoyable.
Cockburn,
Alistair
and
Williams,
Laurie.
The
Costs
and
Benefits
of
Pair
Programming
47. In
2008
Begel
and
Nagappan…
• 64,4%
believed
that
pair
programming
worked
well
for
them
• 65,4%
felt
that
pair
programming
produced
higher
quality
code
• 25,4%
believed
that
it’s
not
slower
than
solo
programming
Begel,
Andrew
and
Nagappan,
Nachiappan.
Pair
Programming:
What’s
in
it
for
Me?