The Buddy System: A Look at Pair Programming

A presentation at Agile Day Twin Cities in November 2012 in Minneapolis, MN, USA by Jenna Pederson

Slide 1

Slide 1

The Buddy System: A Look at Pair Programming Agile Day Twin Cities November 2, 2012

Slide 2

Slide 2

Agenda • Who Am I? • Who Are You? • The Buddy System • What’s the Big Deal? • Why is it so Hard? • Let’s Pair! • Questions

Slide 3

Slide 3

Who Am I? • Jenna Pederson • Programmer-geek, lover of learning • 10+ years in the software space

Slide 4

Slide 4

Who Are You?

Slide 5

Slide 5

The Buddy System • Two programmers, one computer • Operate as a single unit to keep an eye on and support each other • Take on complementary roles Image: tomsaint / http://www.flickr.com/photos/tomsaint/

Slide 6

Slide 6

What’s the Big Deal?

Slide 7

Slide 7

Image: busy-pochi / http://www.flickr.com/photos/busy-pochi/ Improved Quality

Slide 8

Slide 8

Knowledge Transfer

Slide 9

Slide 9

Get Things Done

Slide 10

Slide 10

Image: timothymorgan / http://www.flickr.com/photos/timothymorgan/ Image: beaugiles / http://www.flickr.com/photos/beaugiles/ Image: keiva / http://www.flickr.com/photos/keiya/ Image: thunder / http://www.flickr.com/photos/thunder/ Image: chelmsfordpubliclibrary / http://www.flickr.com/photos/chelmsfordpubliclibrary/ Less Distractions

Slide 11

Slide 11

Image: oklanica / http://www.flickr.com/photos/oklanica/ Why is Pair Programming Hard?

Slide 12

Slide 12

Common Excuses and the Solutions

Slide 13

Slide 13

• Programmers are Introverts. • I have a personal “bubble” and I don’t want you in it. • You’re going too fast for me to keep up. • You’re going too slow. I’m getting bored. • My partner is always multi-tasking on a second computer. • My pair is a keyboard hog.

Slide 14

Slide 14

• My partner is telling me which characters to type! • How do I convince management? • It costs twice as much to hire two people to do one person’s job. • My team is distributed and remote pairing is hard. • My team sets their own hours. • I’m getting sick of my pair partner. • My pair partner smells.

Slide 15

Slide 15

Image: lorenzo-bros / http://www.flickr.com/photos/lorenzo-bros/ Let’s Pair!

Slide 16

Slide 16

Scoring a Bowling Game • A “game” has 10 frames • Score for a frame is the number of pins knocked down in both “rolls” + extras for strikes and spares • Player can “roll” a ball to knock down some pins • At the end, a game can be “scored”

Slide 17

Slide 17

Questions?

Slide 18

Slide 18

Thank You! Feedback: http://spkr8.com/t/18051 Twitter: @jennapederson Blog: www.jpedersonconsulting.com/blog