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

The Buddy System: A Look at Pair Programming

Embed Size (px)

Citation preview

Page 1: The Buddy System: A Look at Pair Programming

The Buddy System: A Look at Pair

ProgrammingAgile Day Twin Cities

November 2, 2012

Page 2: The Buddy System: A Look at Pair Programming

Agenda• Who Am I?

• Who Are You?

• The Buddy System

• What’s the Big Deal?

• Why is it so Hard?

• Let’s Pair!

• Questions

Page 3: The Buddy System: A Look at Pair Programming

Who Am I?

• Jenna Pederson

• Programmer-geek, lover of learning

• 10+ years in the software space

Page 4: The Buddy System: A Look at Pair Programming

Who Are You?

Page 5: The Buddy System: A Look at Pair Programming

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/

Page 6: The Buddy System: A Look at Pair Programming

What’s the Big Deal?

Page 7: The Buddy System: A Look at Pair Programming

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

Page 8: The Buddy System: A Look at Pair Programming

Knowledge Transfer

Page 9: The Buddy System: A Look at Pair Programming

Get Things Done

Page 10: The Buddy System: A Look at Pair Programming

Less Distractions

Image: chelmsfordpubliclibrary / http://www.flickr.com/photos/chelmsfordpubliclibrary/Image: thunder / http://www.flickr.com/photos/thunder/Image: keiva / http://www.flickr.com/photos/keiya/

Image: timothymorgan / http://www.flickr.com/photos/timothymorgan/ Image: beaugiles / http://www.flickr.com/photos/beaugiles/

Page 11: The Buddy System: A Look at Pair Programming

Why is Pair Programming Hard?

Image: oklanica / http://www.flickr.com/photos/oklanica/

Page 12: The Buddy System: A Look at Pair Programming

Common Excusesand the Solutions

Page 13: The Buddy System: A Look at Pair Programming

• 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.

Page 14: The Buddy System: A Look at Pair Programming

• 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.

Page 15: The Buddy System: A Look at Pair Programming

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

Page 16: The Buddy System: A Look at Pair Programming

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”

Page 17: The Buddy System: A Look at Pair Programming

Questions?

Page 18: The Buddy System: A Look at Pair Programming

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