TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Is Pair Programming Worth It? AirPair Interviews Pivotal Labs

47 pointsby jkresnerover 11 years ago

15 comments

kstenerudover 11 years ago
I guess I&#x27;m just not the pair programming type. I find that the experience is usually frustrating.<p>1. Most software development occurs in my head. If you watch me &quot;write&quot; software, you&#x27;ll see me sitting silently at my desk most of the time. I only actually type once I have a solid picture of the problem and solution (except for the occasional exploratory code to coax out more details from the problem domain). I can&#x27;t do that with someone talking and changing the existing code structure. It&#x27;s basically having someone constantly interrupt you. I&#x27;m not a multitasker; I can&#x27;t write code and converse with someone at the same time.<p>2. I tend to jump around a lot in an existing codebase to verify behaviors or gain a better understanding of a subsystem. But the person next to me doesn&#x27;t have the same mental map, and so what I&#x27;m doing will appear almost random. I&#x27;ve tried explaining as I go, but it just serves to muddy the waters because the other person will be talking and interrupting as I&#x27;m trying to keep the delicate mental structure intact.<p>I much prefer to work alone, and then bounce ideas off colleagues when I&#x27;m stuck.
评论 #6929379 未加载
评论 #6929416 未加载
评论 #6929153 未加载
bitcrusherover 11 years ago
They forgot to mention that ( at least in my circles ) they are notoriously known as an &#x27;engineering factory&#x27;, where most people hate their job, because very few people want to pair program ALL DAY, EVERYDAY.<p>Pair programming in small doses, works wonders. One to three hours working together on a problem can see serious productivity gains. There&#x27;s no magic to this however; Any collaborative environment gravitates towards this sort of activity naturally.<p>As with most things, balance is necessary. Some solitude to think and reflect, some collaboration to explore your ideas and some pairing to smooth out the rough spots.
评论 #6929504 未加载
softwaremanover 11 years ago
Seriously, I think very few people get the concept of pair programming or I would say pairing because programming is only one scenario. Pairing is good or bad is like saying gear-5 (in a car, assuming topmost gear) is better than gear-4 or not. Cmon, both are required for different purposes. You got to change gears. You cant just drive in gear-4 or 5 all the time.<p>Some of the arguments down below read like: I tried driving in gear-4 and I disliked it, so I changed back to gear-5. Funny. Another one: One company forced me to drive in gear-5...again that company was plain stupid (or atleast the management was, for forcing you, in general).<p>Pair programming is effective when you are coding up while you are building the solution on the go. Its one of those sessions where its not possible to think up everything in your head. Ever had such moments where you didn&#x27;t know all pieces of the puzzle? You can always say I would think up everything and then discuss in a meeting the whole solution. What if you went ahead and thought up the solution in a pair rather than discussing after you have laid out everything and then realizing you have to change it because you made a wrong initial assumption.<p>You cannot think up everything in your head (as another comment was there). Many times you do not have all the pieces and sometimes even if you have, you need to consult.<p>Seriously people, you are not getting the concept of pairing at all. Or I am just nuts.
评论 #6930438 未加载
thinkpad20over 11 years ago
This reads more like an advertisement than an objective analysis, which in looking more into AirPair, that&#x27;s exactly what it seems to be. Pair programming might be great (it certainly sounds like something I wish we did some of at my company), but it&#x27;s disingenuous to pass off a marketing piece as a critical analysis of software engineering methodology.
评论 #6929214 未加载
评论 #6929325 未加载
collywover 11 years ago
Interesting.<p>I could see pair programming being a good fit where you have say one backed developer, and one front end, and you want both to be able to code both.<p>Is there anywhere to read more about practices, or is it simply a matter of sitting down side by side? I have done that with less able developers, but it often feels like I am doing the work, and they are watching, whereas I imagine pair programming to be more interactive.
评论 #6929156 未加载
评论 #6929043 未加载
评论 #6929125 未加载
sourcec0deover 11 years ago
It really comes down to being a team player, and being able to accept help from others. A lot of us are the loan wolf type. Just as @kstenerud said. &quot;Most software development occurs in my head&quot;. Personally, I find that I can over complicate things especially with a problem I don&#x27;t have a road map for. However, when I have someone else around to bounce my ideas off of I usually end up with a very scalable simple solution.<p>AirPair allows you to find someone who is an expert in what you&#x27;re working on, and instead of hiring that person to be a full time engineer for 120K+ per year you get to pick their brain for an hour or two and see if they can at the very least point you in the right direction. Two heads are always better than one.<p>So, to answer the question. Is AirPair worth it? 100% worth it IMO.
toastedzerglingover 11 years ago
I find pair programming to be an excellent when you are debugging a problem and need two sets of eyes. It&#x27;s also great for teaching&#x2F;learning when a junior developer has banged his&#x2F;her head against the problem before coming over to a more senior person for help. For research projects or deep thinking exercises, it&#x27;s pretty counter-productive.
评论 #6929468 未加载
Iftheshoefitsover 11 years ago
Pair Programming seems like it would be great if both programmers have similar ways of approaching problems, and can bring their different perspectives to bear on the problem in compatible ways. What happens when two people approach things from very different perspectives?<p>Coming from a physical science background, I&#x27;ve found that I &quot;think differently&quot; than most computer scientists and engineers I&#x27;ve ever worked with. It&#x27;s different enough to my mind to be quite incompatible with in situ pair programming; the few times I&#x27;ve done it have been in interviews, and it was uncomfortable to say the least.<p>It seems like the difference between a kinesthetic and a visual learner. I don&#x27;t care how often you expose one type of learner to the other kind of learning, there will only be so much improvement; after the improvement plateaus frustration will set in.
mbureshover 11 years ago
Anyone with some negative experiences pair programming? Would be interested in hearing about another side of this.
评论 #6929011 未加载
评论 #6929068 未加载
snarfyover 11 years ago
It&#x27;s good for about two weeks to a month, and then you are looking at diminishing returns.<p>The productivity gains come from sharing each others programming tricks. You may learn a different approach to problem solving that you never thought of before. Over time you will learn less and less, to the point where you are just sharing a keyboard.
_fsover 11 years ago
Is pair programming always carried out on a single PC? I was under the impression that the pairs may just sit side by side and help each other throughout the session. Didn&#x27;t realize that pair programming implied literally taking turns hammering out code on a single PC.
评论 #6929161 未加载
评论 #6928996 未加载
pswensonover 11 years ago
I think pairing is useful <i>some of the time</i> (esp for debugging, code reviews)<p>in a world trending more and more to flexible hours and remote work, I don&#x27;t see any way doing it all the time will work.
评论 #6930264 未加载
applecoreover 11 years ago
Another advantage of pair programming is that two developers can share one desk in a coworking space.
评论 #6929088 未加载
评论 #6929093 未加载
joemellinover 11 years ago
I had a great experience with AirPair. It makes me feel like I can really tackle some big issues.
OhHeyItsEover 11 years ago
Answer: No. <a href="https://help.github.com/articles/using-pull-requests" rel="nofollow">https:&#x2F;&#x2F;help.github.com&#x2F;articles&#x2F;using-pull-requests</a>