Archive for July 6, 2006

Pair Programming

Pair Programming is one of the eXtreme Programming (XP) techniques wherein two developers sit together and complete a coding task. There are several advantages by doing pair programming. Some of them listed below.

  1. Syntax and Semantic bugs are caught then and there. This might sound no difference but drops of water make ocean, seconds put together make minutes and hours.
  2. Code efficiency can improve as there is someone to question your logic.
  3. Code review happens on the fly.
  4. Discipline comes automatically as someone is watching your code and pointing out mistakes then and there.

Selecting the right pair is equally important for pair programming to work. The usual practice is to pair a senior and a junior person. The primary advantage here is mentoring of the junior developer can happen on the job and no dedicated effort is required. However coupled pair programming also has some disadvantages. And these disadvantages are primarily due to attitude differences. Few listed below.

  1. Conflict in ideas particularly logic and approach
  2. Ego clashes may result in time unnecessarily spent in arguments
  3. When the timelines are critical and available resources are very few then pair programming might be a costly operation.

Nevertheless pair programming is good and a valuable practice and can help in lot of ways.

Blink this Pair Programming at blinklist.com    Bookmark Pair Programming at blogmarks    Bookmark Pair Programming at del.icio.us    Digg Pair Programming at Digg.com    Fark Pair Programming at Fark.com    Bookmark Pair Programming at Furl.net    Bookmark Pair Programming at NewsVine    Bookmark Pair Programming at reddit.com    Bookmark Pair Programming at Simpy.com    Bookmark Pair Programming at Spurl.net    Bookmark Pair Programming with wists    Bookmark Pair Programming at YahooMyWeb

Comments      Cosmos


Creative Commons License  This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.