Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Pair Programming: “What are you trying to learn?”

DZone's Guide to

Pair Programming: “What are you trying to learn?”

· Agile Zone
Free Resource

The Agile Zone is brought to you in partnership with Techtown Training. Learn how DevOps and SAFe® can be used either separately or in unison as a way to make your organization more efficient, more effective, and more successful in our SAFe® vs DevOps eBook.

I’ve noticed recently that while pairing with various different people that I frequently ask my pair what they’re trying to learn through the approach that they’re about to take.

I tend to use it when I don’t really understand what my pair is doing and want to find out so that I can stay engaged.

It seems to be a more effective and less confrontational way of finding out than saying “What are you doing?” or “I don’t understand what you’re doing”.

There tend to be two outcomes from asking the question:

  • We were about to go on a yak shaving mission and that’s not been averted.
  • My pair was ahead of me, knew something that I didn’t and is now able to teach me that.

The following are some recent examples I can remember asking the question:

  • My pair was googling how to do something which didn’t seem directly related to what we were doing.
  • My pair was scrolling around files fairly rapidly and I wasn’t able to follow what they were doing

Of course this question is unnecessary if the driver is providing constant commentary about what they’re doing but it’s easy to forget that you have someone alongside you when you’re solving a problem.

Asking this question seems to be a reasonably effective way of keeping the pairing collaborative.

 

From http://www.markhneedham.com/blog/2011/02/23/pair-programming-what-are-you-trying-to-learn/

Adopting a DevOps practice starts with understanding where you are in the implementation journey. Download the DevOps Transformation Roadmap, brought to you in partnership with Techtown Training

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}