At all times during pair programming:
- Both partners should sit behind a single computer. Put your other computer away.
- Exception: Some partnerships find that they can use the second computer effectively for reading these instructions
and responding to the questions therein.
- But at any given time, both partners must be looking at the same computer screen.
- Share the typing duties.
- Intially this will mean alternating at specified points in the project.
- Later it should mean that whoever wants to type at a given time should,
but with the overall time spent typing shared equally between partners.
- Both partners think! Both partners solve the problem!
- When you are not typing,
think about what your partner should be typing (and watch that your partner is not making an error).
- Do not complete any work unless both partners understand it completely. In particular:
- If one partner does not understand the code that the other partner is typing,
stop at that point and discuss the code until both partners understand it.
- If both partners are confused about the work that they are doing, ask an assistant for help.
- If the partners disagree about a portion of the project, ask an assistant for help.
- It is:
- good to show your partner some things that you understand and that your partner does not.
- not good to spend the entire session teaching your partner things that your partner should already know.
- It is generally best to work with a partner whose comfort-level and skills relevant to the project are similar to your own,
so that the pace of problem solving is consistent.
|
Additionally, when you are to work on a project outside of class:
- When you are in class:
- Identify times when you can meet face to face.
- Schedule a specific time and place to work outside of class.
- Identify ways to get in touch with the other easily (email, instant messenger, phone, etc).
- Do not waste your partner's time.
- Show up on time for scheduled meetings.
- Stay focused on the task during the meeting.
- Do not work on the project without your partner.
- Pair programming is not team programming.
|