This page describes the procedures for pair programming, and gives suggestions for success.
Conditions
You may choose to pair program on an assignment if you meet all the requirements listed here:
- The assignment is one that allows pair programming
- You select a partner with whom you have not yet worked during this course
- You and your partner do all programming work together -- no splitting up and working independently
Suggestions for Success
- Be kind to each other! Assume that both partners are acting in good faith and doing their best. And conversely, try to bring your best to the partnership.
- Adopt distinct roles: one partner types (the driver) while the other directs and reviews the code for errors (the navigator). Switch roles often (every 20 minutes or so) so that both partners experience both roles. If one partner is less confident, let them drive more.
- Arrange your working environment so that it supports collaboration. On zoom this means sharing screens.
- Celebrate when things go well! Give each other well-deserved congratulations.
Here are some tips from other sources: 7 tips for beginners and a more detailed article
Logistics
I only need one copy of the work done by a pair. One partner should submit the entire project, including both partners' names in the comments/documentation. The other should submit a text file with both partners' names and any personal reflections or notes on the assignment.