[Question] When is pair-programming superior to regular programming?

When doing software development there are many choices that can affect your productivity. There are choices about how a company works. One of those is doing pair-programming over doing solo-programming. We recently had a consultant at our company who claimed that pair-programming is proven to be better but who couldn’t point to evidence.

How does the case for pair-programming look like? What do we know? How can we rationally think about the question?