Introduction to Pair Programming

How to Do it Effectively

By Tina Tien and Ambreen Hasan

What Is Pairing?

Pair programming occurs when two people work together at a single work station to solve a coding problem.

Why is it important at DBC?

At DBC, pairing teaches you how to be practice empathy and how to build relationships with others. Pairing is important because it allows you to work collaboratively with other students to simulate real-world working environments. In addition, it demonstrate respect and patience toward your pairing partner, too.

Guidelines and Etiquette

  1. Check in with each other at the beginning of each session.
  2. The two partners should designate the following roles: driver and navigator.
    • Discuss driver and navigtor responsibilities. Agree to switch after a specific time.
    • The driver's role is to do the actual coding on the keyboard
    • The navigator guides the discussion.
  3. Be sure to submit feedback after the end of the pairing session to help your pair improve.

Reflection

I enjoyed pair programming with my partner. We were both very focused as we tried to create our HTML/CSS for this website. Often times, we ran into obstacles with getting the positioning and formatting correct on our website. This resulted in a lot of trial and error but we both learned alot from looking up other resources. As beneficial as I think pair programming is, I also think that it is a bit draining because it makes you aware of the communication you must have with your partner. In order for it to be engaging, you must always have some sort of open dialogue. Working remotely was at times difficult. I'm glad we are using Google Hangouts and Stypi to help us work collaboratively. Overall, I throughly enjoyed the paring session with my partner and would do so again.