I work on a team where we practice ‘pairing’ and pair programming every day. Before joining this team I had only a passing experience with pair programming. And now, after many months of pairing, I have a much better understanding of why we pair.
Pair Programming Explained
Pair programming is a technique in which 2 programmers work as a pair at one workstation. One, the driver writes code and focuses on the tactical aspects of syntax and task completion. Two, the observer considers the strategic direction of the code they’re writing together. In our case, each developer has their own monitor, keyboard and mouse but is connected to one IDE. The two programmers switch roles often.