# Pair programming

Peer programming is about two students working together to solve some programming problem.

When doing peer programming in the class its important to enforce the structures around it. With the driver and navigator roles set up and times for switching around the roles.

It is really good for collaborative learning where the students explain topics to each other

## Preparation

* Read about the benefits of pair programming [here](https://meetedison.com/pair-programming-in-education/)
* What [this video](https://youtu.be/TWj78n4ZuMY) about some tips for pair porgramming

## Tips

* Dont just say they should work in pairs. Be proactive with it. Assign the driver and the navigator and set a timer for when they should change the driver.&#x20;
* Assign a computer for them
* Pair similar skills
* Only speak with the pair

## Exercises

[Exercise](../exercises/pair-programming)

## Learning Paths

* [Teaching the class](../learning-paths/teaching-the-class)
