Start Over Coder

053: Pair Programming

Informações:

Synopsis

Pair programming is a productive way to write code with other people, and often used as an interview tool as well. I’ve been incorporating pairing into my study plan recently, and here’s what I learned! What is pair programming? It's two people writing code together, and sharing one computer to do it. One person is the driver: their hands are on the keyboard and they are talking through the code they write as they write it. The other person is the navigator: the navigator takes a 'big picture' approach and reviews the code as it's being written, stopping to ask questions or offer guidance based on what the driver writes. During the pair programming session, you would periodically switch so that each person sits in both roles several times. The main idea is that with two heads working together, the code will be better than if just one person was working alone. Here are the biggest benefits and lessons I've found so far in my pair programming experiences: You see another way to approach solving problems. It co