Pair Programming

This pair programming study was being passed around at work, which always sends a chill down my spine.

In case you are not familiar with this confronting practice,

The official definition of pair programming is two programmers working together, side by side, at one computer collaborating on the same analysis, design, implementation, and test. In other words, consider it like two programmers using one pencil.

Its main thrust of the paper is that working as a pair each programmer achieved 227% of the average level of output in the organisation. Fascinating stuff, but not without its difficulties. I am not convinced that lines of code is a meaningful way to measure programmer productivity. I suspect that the average programmer might easily double their output by this measure just by being told that the lines of code they commit is being tallied.

By this measure I should have been paying to come to work this month. My main task has been refactoring about 6000 lines of code into about 2000 lines of code. I appear to have been doing negative amounts of work.

But that is all a side note, I was much more fascinated by the effect of pair programming on error rates. The summary data is helpfully provided as an image of a table. Errors decreased by three orders of magnitude.

Which sounds great, but think for a minute what that means. The author chooses not to disclose the normal error rate for solo programmers in the organisation, except to say that it was in line with the industry at the time. One data point given though is that a 10000 line task delivered by pairs had only two coding errors and one design error. That sounds pretty good to me … but if the pairs were producing 0.001 times the errors of solo programmers as the study claims, then solo programmers would have been expected to deliver 2000 coding errors and 1000 design errors in the same 10000 line task.

One coding error per five lines of code, and one design error per ten lines of code seems highly improbable to me, unless each pair consisted of one programmer doing 80% of the work and one rhesus monkey who without supervision would have just bashed keys randomly. Today of course, people would probably assume the output produced by the monkey was a valid Perl program, but as Perl had not been invented when the experiment was conducted I guess they spotted them as errors.

I remain unconvinced, and cannot think of pair programming without thinking of the PairOn chair … with apologies to Cenqua who I stole the image from and HermanMiller who they stole the dot com bubble icon the Aeron from.

PairOn

15 Responses to “Pair Programming”

  1. Cameron Ackers Says:

    You really make it seem really easy together with your presentation however I in finding this matter to be really something which I think I’d never understand. It seems too complicated and extremely wide for me. I’m having a look forward in your next submit, I’ll attempt to get the hold of it!

  2. Dining Room Furniture Says:

    Great amazing things here. I am very satisfied to look your post. Thanks a lot and i am taking a look ahead to touch you. Will you kindly drop me a e-mail?

  3. use generic anchor text Says:

    Saved as a favorite, I like your blog!

  4. Slow Computer Says:

    I like what you guys are up also. Such clever work and reporting! Carry on the excellent works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my site :)

  5. Straight Talk discount Says:

    They then deliver them to people that californian’t afford to purchase their own phones.
    They ensure it is handy to identify the things quickly without the need to start the handbag over and over to check on.

  6. Gluten Free Society other Says:

    The Paleo Diet can be more restrictive diet than regular gluten and dairy free diets.
    Gluten is the protein commonly found in Barley, Wheat and Rye.
    Cool the baking sheet for 5 minutes before adding more cookies to it.

    My website :: Gluten Free Society other

  7. oklahoma city thunder jersey Says:

    oklahoma city thunder jersey
    I drop a comment when I especially enjoy a article on a site or if I have something to add to the discussion. Usually it’s caused by the fire communicated in the post I browsed.
    And after this article Some Guy Ranting

  8. kiteboarding.ca Says:

    From food deals, to health and elegance supports, haircuts to oil improvements, promo codes will be the approach to
    take. To look at the resources in this guide, please utilize the links
    in the source field at the end of this guide.

  9. security-world.blogspot.com Says:

    You probably need a refresher for the useful
    tips every online company owner should find out about.
    Investors are there to assist the entrepreneur and to achieve
    a profit from their investment in the entrepreneurs
    company. The business degree raises one’s social standing: in short, it opens in your case doors that might have otherwise remained
    closed to you personally.

    Look into my web page :: security-world.blogspot.com

  10. dino hunter cheats Says:

    You actually make it appear so easy together with
    your presentation but I to find this topic to be actually
    something which I believe I would by no means understand.

    It kind of feels too complex and extremely wide for me. I am taking a look forward for your
    subsequent post, I will attempt to get the dangle of it!

  11. Sofia Says:

    Spot on with this write-up, I truly believe that this web site needs
    much more attention. I’ll probably be back again to see more, thanks for the advice!

  12. i thought about discounts Says:

    However, many photographers do-it without really considering the end user, and as a
    result, the majority of the folks photos you view online are never planning to market in one million years.

  13. gesports.org Says:

    I am really delighted to read this blog posts which contains plenty of valuable data, thanks for providing such statistics.

  14. vodafone customer care Says:

    Greetings! This is my first comment here so I just wanted to give
    a quick shout out and tell you I really enjoy reading your posts.
    Can you recommend any other blogs/websites/forums that go over the
    same subjects? Thanks a ton!

  15. fantast-fabrikken.blogspot.ru Says:

    In terms of finding the best male sexual aids, you don’t have to look quite
    far. Manufacturers make these types of womens
    sex toys appear to look like everyday objects such as lipstick dispensers, flashlights,
    cell phones and more. Children in the 70’s and 80’s - This period was extremely dramatic in terms of
    change coming to the families.

Leave a Reply