I made this rulebook through my official scrum training which includes extream programming hands-on.
Roles
- Driver: The driver is the person who is actively typing and controlling the computer. They are responsible for following the navigator's instructions and asking questions when they are unsure of something.
- Navigator: The navigator is the person who is providing guidance and instructions to the driver. They are responsible for thinking ahead, suggesting different approaches, and helping the driver to avoid making mistakes.
Rules
- The driver should share their screen with the navigator so that they can both see the code.
- The driver should type slowly and carefully, and should always ask the navigator for confirmation before making any changes to the code.
- The navigator should provide clear and concise instructions to the driver. They should also be patient and understanding, as it may take some time for the driver to get used to pair programming.
- Both the driver and the navigator should be actively engaged in the process. They should both be thinking about the problem and how to solve it.
- The driver and the navigator should switch roles every 5-10 minutes. This will help to ensure that both people have a chance to contribute and learn from each other.
Tips
- Use a timer to help you stay on track.
- Take breaks regularly to avoid getting tired or frustrated.
- Be patient and understanding with each other. It may take some time to get used to pair programming.
- Have fun! Pair programming can be a great way to learn and collaborate with others.