Feedback

what's your question? be descriptive.

By: Asked

What is the overhead to practice Pair Programming?

What are the main costs tied to Pair Programming?

Add comment viewed 72 times Latest activity about 1 year ago

or Cancel

2 answers

  • 1

john merriwether [ Editor ]

Well, there are explicit costs to include and if it is for a development team working on internal code or a client project. There is always that perceived cost of paying two developers to do that same work, which is an upfront cost that will save money later on down the road.

There are implicit costs though, such as an new/inexperienced team member slowing down another one during pairing.

or Cancel
  • 1

kevin rutherford

Academic studies (see the works of Laurie Williams) suggest that, on average, a task requiring 2 hours for a lone programmer will require 1.25 hours elapsed for a pair. So there is an apparent increase of 25% in effort expended.

However, there are also two compensating gains. First, the task is completed sooner, which speeds up the overall feedback/learning loop. And second, the pair will generally produce code that's more correct and easier to maintain, effects which dramatically reduce the code's long-term cost of ownership.

In summary, pair programming is cheaper, better and faster in almost all cases.

or Cancel