49 ms·
The mortifying ordeal of pairing all day
- asplake 6y ago“Teams had half as many workstations as they had engineers.”
- Clewza313 6y agoYes, that's how pairing works: two people, one keyboard, one workstation. Having done this for a while, I wholeheartedly agree with everything the author says. It's great for software quality and productivity (among other things, it's much harder to slack on HN), but it's also incredibly draining and definitely not for everybody.
- asplake 6y agoLiterally half the number of workstations. No option but to pair. I would find that oppressive.
- denton-scratch 6y agoTwo people, TWO keyboards, one workstation (with a good monitor). You can't keep switching seats, or shuttling the keyboard back and forth. Remove as much unnecessary friction as possible. And assign someone on the team to be the tea-mug refiller for the day. And management have to provide a workstation for each worker; you pair at a pairing workstation, but everyone needs their own machine for stuff like email, Slack, and reading the news over lunch. Bring a notebook, and record the work you are doing with your pair. You will need that information for the next-morning's SCRUM.
- Clewza313 6y agoIn my team, the rule was that one person was "driving" (hands on keyboard) and the other was "navigating" (hands off). Whether there's two physical keyboards or not is kinda of immaterial.
- twic 6y agoTraditional pairing uses one keyboard, and one screen (or one pair of screens, etc). When i went to Pivotal, that was the first time i had seen two keyboards and mirrored screens. I think the Pivotal way is significantly worse - you have a physical machine to yourself, but not a logical machine, so there is a base level of confusion. Sharing a single keyboard means that it's always obvious who is driving. Sharing a single screen means you can gesture at things. Rather than giving everyone a machine, you can have a few spares for doing email and other solo stuff (as long as you are using webmail!). If people are pairing most of the time, you don't need a dedicated machine each.
- dkersten 6y agoI often did remote pairing over screenhero some years ago. We just got really good at communicating with each other who gets to type and who has to keep their hands off. The first few weeks were hard, we'd naturally just try to fix a typo or something and end up conflicting, but after a short while we got into a nice groove and it was never a problem again.
- dkersten 6y agoWhen I did pairing (see other comments of mine), we used our own laptops. That way, we could both have our own setups that we were comfortable in. It did mean that switching often consisted of a git commit to our branch that we later squashed out. We didn't always bother switching laptops though and we also worked remotely about half the time (using screenhero at the time, I miss SH). > And assign someone on the team to be the tea-mug refiller for the day. I disagree with this. I found frequent breaks to be very important. Pairing is exhausting. "Lets get more tea/coffee" was a good way to have a short break. I think frequent breaks also made using different laptops easier, since its natural to switch drivers after a short break. We didn't have breaks on every switch, of course, but on many we did. The breaks were often only a few minutes, but getting away from the screen even for three minutes really helped.
- jhrozek 6y agoNot necessarily. I occasionally pair with someone, though it's not enforced or even suggested in any way, just a result of discussing a problem for long enough that one of us says "wanna pair on this?". We use either tmate (a fork of tmux specifically for pairing) or a VSCode plugin, depending on whether what we're pairing on. I can very much recommend tmate.
- renke1 6y agoI couldn't even work efficiently without my custom setup (keyboard layout, editor configuration, hardware even).
- denkmoon 6y agoI could deal with this for maybe a week. 6 years is just mind-bending. Incredible endurance/tolerance.
- throwawayboise 6y agoI quit my job when pairing was introduced. I was open to the idea when I read about it but hated the reality. Everything from working 12 inches from people who refused to use deodorant to having to explain what I was thinking instead of just doing it. Also all my tools, preferences, keyboard shortcuts, etc. were mine, committed to muscle memory over years, and nobody else's setup was the same. Didn't work for me.
- FriedrichN 6y ago>people who refused to use deodorant What is it with people in our field that this is so commonplace? There are few things worse than a room full of IT people with the windows closed. "It's the smell" as Agent Smith said.
- house9-2 6y agoThere is no deodorant that can suppress my BO, I just end up smelling like BO with a hint of deodorant. Luckily for my coworkers I am usually remote.
- valdiorn 6y agobtw, you may not be the problem, it's more likely it's your clothes. I had this problem for years, I was basically smelly 30 minutes after a shower and a fresh set of clothes. I then learnt several tricks on how to wash my clothes properly, and the problem has gone away completely. Butyric acid stays in your clothes for a long, long time unless you use the right chemicals. I went from horribly smelly guy to no odour overnight. I now soak all my T-shirts in a bucket with baking soda, rinse them and then put them in another bucket with diluted vinegar, then finally, normal wash. If you have white "pit stains" from deodorant, you want to clean that stuff off. There are special cleaners for that. I do this once every 6 months, and it's enough to keep it all fresh. Being smelly all the time is a major knock to your self confidence and self image, it's worth the 30 minute hassle twice a year!
- MattGaiser 6y agoHow the heck can people work like that for 8 hours? I start to get very worn out at 2 hours of conversation.
- rasputnik6502 6y agoYep feels forced like hell, no breathing room. Isn't it enough to be a team of two without holding hands all the time?
- thinkingemote 6y agoIt feels inhumane to me. Maybe for a little bit would be ok though.
- enw 6y agoHonestly reading that felt extremely anxiety-inducing and like a nightmare work culture. My work patterns are too chaotic to ever pair for more than an hour if I’m forced to.
- MattGaiser 6y agoWork patterns, emails, special requests from team members, bladder, time for collecting thoughts, etc.
- simonmales 6y agoI've paired on a couple projects and miss it. The exhaustion is very real but pairing really works when you take breaks. When one is loosing focus, there isn't a hesitation to say let's take a break. I found it similar to taking a timeout in basketball. As an engineering manager I stressed it to the team. Take breaks or you will break.
- RogerL 6y ago> Take breaks or you will break. Life is waaaaayyy to short for that shit. Work so hard you are in danger of injuring yourself. No thanks.
- quickthrower2 6y agoThis story should be in the dictionary under "Cargo cult".
- alteredbeats 6y agoDing, ding, ding. I find it funny most people don't realize pair programming is about control. It's like a workplace Stasi. Management expects you to deal with the inevitable conflict resolution, even if that's not your job. Even if your pair shows only for a couple of hours a day and you have to do the work of two people. “Much harder to spend time on HN” people who like pair programming either like to have power over someone else, or they want to coast and/or be handheld. People say it's about collaboration... it's more about learning power phrases like “let’s timebox this exploration”, “you have to call the keyboard”, “let’s do plus and deltas”. I tolerate it because the productivity is so low it helps recovering workaholics. It's the best secret to dilute accountability and charge outrageous consulting fees.
- thinkingemote 6y agoIf it is like workplace Stasi and like the movie Brasil, shouldn't we expect pairs to slack off together in conspiracy, watching movies like in Brasil or commenting on HN instead of working. Does pair programming cause dysfunction? Also, is there a pair programming equivalent of the Scrum Master? That would be the chief slack position.
- michael1999 6y agoNo. That's one of the many differences between Scrum and XP. XP is the feral cousin of Scrum.
- denton-scratch 6y agoI liked pairing. I was pairing for about three years, 09:30 to 17:00, with an hour for lunch. It certainly is exhausting. It certainly produces better code. If you pair and rotate, then after a number cycles, everyone in the team knows the codebase. There is something a bit weird about XP. It looks as if coders are being given control, and they are; but they manage themselves even more sternly than their management would have. That is, coders seem to demand more of themselves than even aggressive managers. Everyone knowing the codebase is also a way for developers to shoot themselves in the foot; when everyone knows your job, it becomes easier for you to be replaced. I'm not a master programmer - at best, I was a journeyman. I learned a lot from the people I paired with, about half of whom were better than me. I only paired with two guys that I found really difficult; one was a good programmer, but had quite severe asperger's. The other was a reckless, entitled idiot, and pairing with him amounted to trying to stop him writing any code. I'm not familiar with those "power-phrases". And I never encountered power games. I guess we all had enough confidence in ourselves and our colleagues that we didn't feel we had to prove anything. We respected one-another. Well, I certainly respected (most of) the other team members. In a disfunctional team, I guess pairing can only make things worse. Regarding diluted accountability: I found the oppposite. At the morning SCRUM, you have to give an account of what you did yesterday. You can't make it up, because your pair is at the SCRUM too. And the evidence is in the commit log. And I didn't find that productivity was low. I'd say that functionality was delivered at about 75% the velocity of solo work, but the code we delivered was much better quality, so maintenance and bug-fixing was massively reduced. I was working with a team of rather good people; I imagine pairing might be a lot more tedious and unproductive if the majority of the team are dim, incompetent, socially maladapted, or psychopathic. But then the same applies to solo coding. I don't know what a "Pivot" is.
- mleonhard 6y ago> Over time, over years, pairing wore me down. Took a little bit more each day than I could recover. Until my life was working, and recovering from work, and then working some more. This can be true of any demanding job. Pairing is like running or cycling together. One person will be faster or have more endurance than the other. The slower one must set the pace or they will get exhausted quickly. For sustainable daily pairing, I would expect the team to quickly develop a hierarchy of speeds, with the lower speed person in every pair controlling the console.
- denton-scratch 6y agoNot clear why this was downvoted. It's true that the slower person should set the pace; unfortunately that doesn't always happen. I found that some of my pairs were so much faster than me, that they had to spend quite a lot of time explaining what they were doing - I was slowing them down. But with rotation, it won't be more than a couple of days before you're paired with someone more closely-matched to your abilities.
- ratww 6y agoThat's not true in my experience. I also participated in such an "experiment" and I'm normally the one with more endurance and speed, able to do overtime, or work on personal projects after hours. In my experience, with daily pairing, both workers felt completely drained of energy after 4 hours (including pauses). Pairing a couple hours a day, or a couple times a week is alright, and very productive. Doing it 5 days a week is borderline inhumane.
- throwdbaaway 6y agohttps://news.ycombinator.com/item?id=27082522 https://news.ycombinator.com/item?id=27082522 - this guy is cut out for Extreme Programming. If something is good, why not have it all the time, right? We mortals, are likely more suitable for moderate programming, with infrequent informal pairing when necessary.
- ratww 6y ago
- andrewflnr 6y agoIs it just me or is it trivially easy to get all the benefits the author describes without the downsides? Maybe just do it fewer hours for fewer days. Build in enough time for full recuperation. I'd say half as many workstations as people is definitely asking for trouble.
- naomiajacobs 6y agoAs someone who worked in an all pairing shop for two years (run by a bunch of former Pivots), I can confirm it’s pretty draining, though my experience wasn’t nearly as bad. I actually liked pairing a lot of the time, and still think it’s an excellent way to onboard into a new code base, even in a non pairing shop (I even miss it sometimes!). For me, the main drawback after a while was that I felt like I was less efficient when pairing on stuff I knew how to do, and my personal growth as an engineer was stunted because I could always lean on a more experienced pair. Since that was my first eng gig, my second job had quite a steep learning curve as I had to figure out how to debug and navigate on my own, without talking through it out loud.
- thaumasiotes 6y ago> my second job had quite a steep learning curve as I had to figure out how to debug and navigate on my own, without talking through it out loud. Why couldn't you talk through it out loud?
- edem 6y agoSounds funny if you talk aloud while no one else is there.
- bloudermilk 6y agoThere’s actually a term for this: https://en.m.wikipedia.org/wiki/Rubber_duck_debugging https://en.m.wikipedia.org/wiki/Rubber_duck_debugging
- edem 6y agoI still have a blue rubber duck with "integer overflow" written on it. Got it many years ago but interestingly enough I never used it.
- naomiajacobs 6y agoWell, you can, but you'll annoy people even more than if you had a mechanical keyboard ;) I do have a little needle-felted rubber duck I keep on my desk while working, remotely, though, for just that reason.
- anothernewdude 6y agoMy experience is that it's best when it happens organically. Enforcing this sounds like a punishment.
- furrowedbrow 6y agoAgreed. I think pairing basically amplifies the team chemistry, for better or worse. If you have down-to-earth developers who like to learn and teach and generally get along, pairing will be amazing, but if you have know-it-all devs desperate to be right and show how smart they are, it’s a disaster. I paired for a year in the latter environment and it was miserable.
- dkersten 6y agoI had a very positive experience pairing for 11 months, but yes, it was a team of just two of us on the project, we got on well, and we were the ones who decided to try pair programming. Nobody forced us to or told us to.
- edem 6y agoI worked for a shop that adopted the Pivotal model and I can say that it was hell on Earth. If you check the research data it is obvious that pairing is only effective in some very special cases like: knowledge transfer for new teammates, onboarding people, getting juniors up to speed, solving __very__ complex problems. For your everyday work it is not only draining, but also a waste of both of your time. What makes it even worse is that your downtime will double because of pee breaks, coffee breaks, lunch breaks. People rarely feel the need to go at the same time. Nowadays if I'm interviewing somewhere one of my first questions if they have adopted this madness or not.
- Huggernaut 6y agoCan you share this research data?
- nikanj 6y agoSounds like the underlying reason is a link between performance and endurance. If you're achieving very high productivity, you can't do 8+ hours per day every day. I wonder if it would possible to find a balance of doing shorter days / working fewer days, and offsetting that by being more productive in the hours that you do work.
- Silhouette 6y agoI wonder if it would possible to find a balance of doing shorter days / working fewer days, and offsetting that by being more productive in the hours that you do work. There have definitely been experiments along those lines with successful results. I can't immediately find the original source, but I remember reading a few years ago about a business that switched to working 9-3 Monday-Friday, with resulting benefits to both productivity and morale. One advantage that was emphasized in the interview was that people were no longer distracted by non-work concerns like who would pick the kids up after school or needing to book medical appointments in the middle of the working day. With shorter working days and everyone being around during the same hours, collaboration and maintaining focus were also easier.
- papito 6y agoMicrosoft tried the 4-day work week, for example: https://www.npr.org/2019/11/04/776163853/microsoft-japan-says-4-day-workweek-boosted-workers-productivity-by-40 https://www.npr.org/2019/11/04/776163853/microsoft-japan-say...
- Silhouette 6y agoI'm not so surprised that they got such good results in Japan, where traditionally the business culture has been extremely demanding compared to most places. It would be interesting to know whether they did ever try similar experiments in other parts of the world with more "normal" working hours, and if so, whether they managed to repeat the successful result.
- 6y ago
- UweSchmidt 6y ago"We were Pivots, and one of the things that made us Pivots was that we paired." Red flag for all kinds of weirdness if you're made to take on a company-based identity.
- Cthulhu_ 6y agoThe company you work for is not a personality.
- quickthrower2 6y agoPivot, as in ... part of a machine I guess :-)
- mekkkkkk 6y agoYeah, this sort of behavior should make anyone cringe. I understand that you want to encourage team spirit and build cohesion, but jfc pump the brakes. Reminds of the Noogler hats[0] that screams "I'm New Resource no. 348, bear with me as I assimilate". [0] https://obie.ai/blog/wp-content/uploads/2020/08/noogler.jpeg https://obie.ai/blog/wp-content/uploads/2020/08/noogler.jpeg
- twic 6y agoSadly very common in Silicon Valley culture. And this is far from the most cult-like thing about Pivotal.
- jacques_chester 6y agoI once protested against the cult description and then someone pointed out that I did the 3-2-1 clap whenever my team finished an IPM or retro. Pivotal definitely had an incredibly strong cultural field strength. That much it shares with cults. Personally, I loved it, like anyone who finds a fit in such a place.
- sharkbait00 6y ago>red flags for all kinds of weirdness You have no idea. I. Have. Seen. Things.
- ratww 6y agoI also worked at a company where pairing was mandatory for 8 hours a day. Plan was concocted by two tech leads who, of course, didn't pair themselves. The exhaustion was visible, and productivity was very low. Since everyone vocally thought it was a "waste of time", there was a Fight-club-style "rule" where we couldn't talk about the downsides in public or even in Scrum meetings. We missed several deadlines for an MVP, code quality was abysmal and the product barely worked. It stopped when the CEO took issue with it. He gathered the team to ask "why is the productivity so low?". There was an awkward moment where a junior dev was trying to answer but a tech lead was trying to tell him "don't break the rule". It was an absolutely surreal experience, but not out of place in that startup. EDIT: I also remember one of the tech leads complaining during a Sprint Retro that some of us weren't reading Slack fast enough, and we said "well, I was paring, I wasn't at my computer", to which he became a bit agitated and visibly angry. It was an awful place to work.
- wilsonrocks 6y agoThis sounds awful. It's amazing how workplaces can get in these kind of darkly comic places
- ratww 6y agoThis was a very strange workplace. Its atmosphere was half frat-like and half cult-like. There was literal chest beating and shouting motivational stuff during sales meetings, an incredibly amount of beer (which isn't necessary an issue, but in this case it was), sometimes drugs (which led to some people being fired whenever it became public), lots of sexual harassment complaints (which also led to some surprise firings). The cult-like part was the CEO fancying himself some Steve Jobs type, doing two-hour long presentations on random topics like his favourite economic ideas, or presenting a treatise against post-modernism. I of course knew which youtube videos he was plagiarising. It really felt like a Silicon Valley parody when I finally got out.
- wilsonrocks 6y agoI'm glad you got out! I find that CEO level bosses (I used to be a teacher so am including heads/principals here) love to pontificate about stuff not related to the job. I've often wondered why. It's sometimes harmless, and clearly,as in your case, sometimes harmful. I do wonder what causes it though.
- scandox 6y agoIt takes a long time to get over the kind of Stockholm Syndrome an employer like this creates. The OP is at the first stage: disengaging and trying to get perspective. At some point hopefully they will see that they were being psychologically manipulated to meet a corporate goal without any concern for their individuality. That to me is the definition of a bad employer: they want units not humans.
- rpastuszak 6y agoI sometimes coach new teams on pair programming and XP, so wrote this short article explaining how it works in practice, using snakes: https://sonnet.io/posts/snakes/ https://sonnet.io/posts/snakes/
- inreverse 6y agoI can only pair effectively if I feel fully comfortable with the person I'm pairing with, and I would not feel uncomfortable disclosing who meets or does not meet that criteria at work. Software engineers tend to be less comfortable socially so I imagine other people share this perspective.
- rob74 6y agoFor people not that familiar with this particular development technique: he means pair programming. When I read "pairing", I think about Bluetooth devices first, which can be an ordeal sometimes, but hardly something that can lead to burnout...
- halayli 6y agoHow did this person link the cause and effect? How repeatable is this pattern? How were the other possible reasons eliminated like aging, depression, and many other factors that also are happening in parallel during the course of 5+ yrs? Correlation does not mean causation.
- Cthulhu_ 6y agoThat was my thought, if he's been able to maintain pair programming full time for five years, I don't think it was the pair programming that did it in the end.
- incrudible 6y agoProject management is fundamentally about managing human psychology. This is a horrifying prospect, because we do not truly understand human psychology at a mechanistic level, much less to the point where it can be applied to the individual. Therefore, we instead seek refuge in processes and rituals that are, for practical reasons, not validated by experiment. One can hide almost any issue in a forest of obtuseness. If something doesn't work out, one can always blame it on some failure in adherence to the dogma.
- jmcgough 6y agoSince the comments here are mostly people appalled by the idea of pairing - try it before you knock it. Even the author says there's a lot of benefits to it, but it wore down on them over time. I did pairing for a few year at a company early in my career. Some days it felt draining, but I learned a lot, quickly, from working with senior engineers and seeing how they approached problems or building systems. You even socialized different dev tools and terminal commands (I felt really smart when I taught a much more senior engineer about git push -u). I also liked how it helped keep me engaged on days when I was tired and unfocused, and that the day was over at 5pm - you packed up and went home, and were disincentivized from doing more work until the next day. Several years later, I'm pretty comfortable coding solo, but it's a nice tool to pull out when it's helpful (like ramping up on a new codebase).
- Cthulhu_ 6y agoI found it to be very intense, but part of that is having to get out of your comfort zone, change your speed of thinking and typing, and a lot of think and communicate before you act. That said, I don't oppose pairing, but only with a set time limit.
- miltondts 6y agoI also find this to be the case. Specially on ramp-up the difference is night and day. I also felt a motivation boost in certain situations. As with everything, if it makes sense or not, depends on a lot of factors: Who are you pairing with? How long? (hours per day/days per week..) What type of problem are you solving? All these and more, need to be taken into consideration. Just forcing people to pair is probably not a good idea. EDIT: Reading a bit more about pairing in general, there seems to be a lot of emphasis on the "one keyboard per pair". I like to keep two keyboards/computers per pair so that I can quickly jump between solo and pairing, to test ideas, investigate etc
- Olreich 6y agoPair programming only seems good when there is a large disparity in experience or seniority. The senior engineer is there to teach the junior engineer and is sacrificing a great deal of time and energy to do so. That trade off may be worth it. Pairing people with the same skill set? Mostly that’s just a waste.
- bartread 6y agoThis reads like my worst nightmare. We do use pair programming to a limited extent: often in the context of a more experienced developer coaching a less experienced developer, or getting a couple of people working together on a particularly tricky problem, so I'm not entirely against it at all. As I said though, this post reads like hell to me. I've often joked that techniques like pair programming are "software development for extroverts". I certainly didn't get into programming because I'm some sort of out of control social animal, and I was absolutely the stereotypical nerdy kid at school. I still skew somewhat introverted and need time alone to recharge. What I've found as I've moved through my career is that the more oriented my job is around social interaction, the less I want to be sociable outside of work. Now, as an executive, it's all about the people, and I've dropped to 4 days/week so that I don't turn into a total hermit, shunning all social contact, outside of work. If I don't have a day completely alone at the weekend I really start to struggle. Similarly if my only social interaction comes via work I also struggle. I lose perspective, become tired and disengaged, my judgement and decision-making goes on the wonk: nothing good comes of it. But there's always a balance. I have so much social budget to spend, if you like, and if I spend it all at work I don't have anything left for outside of work (and vice versa) - I always need to find a healthy middle ground. I am just one data point and I know full well it's different for different people, but I suppose this is one of the issues I find most frustrating about "pairing mandates" (and, yes, I have worked somewhere that had one): enforced pairing doesn't take into account the differences between people. I'm not advocating that we're all special snowflakes but, at the same time, software engineers in general aren't doing basic tasks that can be easily interchanged with different individuals - sometimes not even within their own teams - so it makes little sense to me to force everyone to work in a way, all the time, that a decent number are going to find detrimental. Let me put it starkly: if I'm working full time as a software engineer and you force me to pair all the time then not only am I going to hate my job fairly quickly, but you are also very literally ruining the rest of my life. I don't want to come home from work completely exhausted with no energy to do anything else and no desire to see friends or family. Not OK. Not OK at all. This is obviously one very effective way to burn people out. We're all human, and it's helpful for everyone if we can remember that when we're at work.
- rlpl 6y agoI want to see a documentary about Larry David working at such a cult company for a month. Automatic material for two HBO seasons.
- devit 6y agoIt seems interesting but rather inefficient since you can just do things faster than explaining them to someone and having them do them. It seems like it would only be good on tasks where having your partial work continuously reviewed is very valuable.
- twic 6y agoSo, almost all tasks.
- kstenerud 6y agoPair programming generates visceral responses due to it being introduced as if it were fact, which for me always triggers my spidey senses. People who didn't like it were told "you're doing it wrong" or "you didn't give it a proper chance". Dismissing criticisms out of hand only furthers distrust, regardless of the actual value of the idea. I played along and paired for awhile, but now steadfastly refuse to pair, ever. I work best within my own mind, and the distraction of talking to someone breaks my concentration such that I'm unable to keep the big picture in my head anymore. The irritation of being that close to someone and having to engage with them for even half an hour is draining, and I took more frequent and longer breaks because of this (much to the annoyance of my pair-partner, who couldn't work while I was away). There may very well be people who work well in pairs, but rest assured that there are those who aren't built that way. Don't disparage them, don't discriminate against them, and don't play the moral superiority game with them. Accept their diversity and be a better team for it.
- harryf 6y agoLike many things in programming, we adopt it like a cargo cult ( https://en.wikipedia.org/wiki/Cargo_cult_programming https://en.wikipedia.org/wiki/Cargo_cult_programming ) based on "some thought leader said" or "some company has amazing..." without actually doing any serious study. It's actually amazing for an industry that should be all about rational, reasoned analysis, that we're willing to perform such experiments on ourselves with so little evidence to show the value. There is this study here - https://www.researchgate.net/publication/222408325_The_effectiveness_of_pair_programming_A_meta-analysis https://www.researchgate.net/publication/222408325_The_effec... "A more detailed examination of the evidence suggests that pair programming is faster than solo programming when programming task complexity is low and yields code solutions of higher quality when task complexity is high." There are links to a few more here - https://tuple.app/pair-programming-guide/scientific-research-into-pair-programming https://tuple.app/pair-programming-guide/scientific-research... - none of it looks particularly compelling. And I'm not "against" pair programming. It's just sad to see "cargo cult" adoption of practices.
- hughrr 6y ago
- InvOfSmallC 6y agoI worked at a place where pair programming was optional but suggested as a good practice. I worked there for 5 years. It was 4 years ago. My team did it and we still talk to each other almost everyday even if we switched jobs. I think it's a good experience if everyone likes it. I don't think we actually ever did 8 hours straight of pair programming. Between pauses and meetings it was more 4 hours per day. I also have a friend a Pivotal and what is described in this article doesn't sound at all like what he usually chats about. I think that what the author is feeling cannot be result of pair programming alone. I have to say though that many people dismiss it without even trying like some of the comments on this thread sound like.
- gregolsen 6y agoFirst off - I feel terribly sorry for the author's experience and I can totally empathise to it. Also want to share my personal experience and some mitigation techniques. I was pairing 8+ hours per day from 2012-2017 with 10+ engineers in total, most of that time fully remote. My company highly praised Pivotal and its processes, specifically pair-programming. Similar to the author, I have experienced different levels of engagement from my peers, conflicts, etc. I can 100% agree that pair-programming is extremely physically/mentally exhausting. Even just to talk for 8 hours/day puts your brain under extreme pressure. Here are some of techniques I've learnt and employed to mitigate the negative consequences: * Talk through the pros and cons of pair programming with your new pair upfront. Ideally have your thoughts on the topic already written in a doc. E.g. clarify the difference between the dynamic: person behind the keyboard (driver) is generally thinking slower (spends time on typing), while the observer have more time to think. Explain the importance of switching the driver regularly. Explain the benefits of being the driver: e.g. if a person wants to build up the context in a new area it might make sense to be the driver and learn at slower pace. Ideally switch the driver every day. * Agree on the scheduled regular breaks. E.g. I used to have a pomodoro timer for 45 mins and then a 10 mins break. When working from office having a game of ping-pong/pool is a great idea. When remotely just switch off from the computer to relax a bit. This also helps with distractions (e.g. Slack, Email, etc): use that time (and only that time) to manage the distractions so that you can have your full focus while pairing. * Do frequent retrospectives and give feedback. At the end of the pairing day ask "What did you like/did not like?". Try to be honest: it is important to catch factors that irritate/annoy early and fix them rather than letting them grow into a bitter relation. More importantly be inclusive: pair programming just doesn't work for everyone, there's no point to force someone in to it. It is worth a try though. I find its benefits hugely overweigh the downsides. edit: formatting
- g051051 6y agoOuch. Another cult in action, just like Agile. What utter madness.
- draw_down 6y ago“Sure I lost my entire sense of self, BUT productivity was really high”
- dkersten 6y agoA few years ago, I worked on a project for about 11 months with one other guy and we paired almost all the time. Yes, it was mentally exhausting, yes we had some natural resistance to it at first. But damn was it effective, in producing higher quality code (two eyes on the code, two people to work out every problem or bug, always having someone to ping ideas off), in terms of knowledge sharing (we both understood every single bit of the code) and in terms of shipping on time. It was a complex project (reliably delivering large libraries of content to fleets of airplanes over satellite internet) and we delivered it from start to finish in under a year. Some mornings I would wake up and really not want to pair, but I'd do it anyway because its what we agreed we'd do, and after an hour or so, I got over it and we were super productive. Sometimes I miss it, especially since I'm mostly working on my own these days. I don't work there anymore, but last I checked with former colleagues the code was still ticking along in production with no issues. When pairing, its important to take regular breaks and also to not overdo it (don't work overtime). It IS mentally draining. Most people are also naturally resistant to the idea and I don't think it can work unless all involved people buy into it. But I found it was the most effective way I've ever worked and also quite rewarding.
- intricatedetail 6y agoRequirement to pair is discriminatory for neurodiverse people. I always quit a company when they forced me to pair. I don't mind from time to time, but often it ends being me doing all the work but sharing the reward with other person that contributed little.
- imglorp 6y agoThere's also the other extreme, Mob Programming, where you get everyone in a room together with one projected screen. The idea is you can have several people in the room thinking and researching while someone drives and others observe. The idea is it keeps everyone in the loop. I've never tried it but there's some long videos floating around of an example in work. https://mobprogramming.org/ https://mobprogramming.org/
- steverb 6y agoI have used this at several work places for particularly thorny issues and architectural changes that require group buy in. It's powerful, but it's also very expensive, especially if you have several opinionated devs on the team.
- flurdy 6y agoIt's a clickbait title, but he does also address the benefits of pairing. He does highlight the importance of not always pairing. He does not say not to pair. I think what would alleviate most of his issues is having frequent breaks. 10 or 30 minutes here and there all day, or even an hour before resyncing is essential. Especially now with remote pairing. I think opt-in pairing is bad. It essentially means, rarely pair apart from on hard things which is not pairing. Opt-out is better. Then for some tasks you don't have to pair, whilst for most you do. Or go full mob programming and allow people to come and go.
- overton 6y agoChiming to say that I too have burned out as a result of forced pairing. Will never do it again except on an ad-hoc, limited basis.
- codingdave 6y agoI've seen pair programming work when taken only in small doses - "Hey, look at this bug with me for 5-10 minutes" types of doses. It gives you another set of eyes, acts as one step better than rubber ducking, and quickly either gives help or confirms that no, you did not miss anything, so keep digging. But more than that just isn't a style that works for me.
- gherkinnn 6y agoI’ve had incredible experiences pairing. There were whiteboards, snacks, rating each other’s themes, and jokes. What worked very well was to pair for conceptional problems, like architecture and defining modules and their interfaces. Commit some types and pseudo-code. We’d then break away and work at our own speed and in our own style using the common foundation. Come together to integrate and discuss. Pairing is also worth it’s weight in gold for debugging. It’s like a rubber duck, but doesn’t feel wrong. It is of course of utmost importance that both parties enjoy it. Else it’s pain and a waste of everybody’s time. I had a colleague who hated it like the plague. In which case short code/review cycles worked best. A good tool, if employed correctly. Like most things, really. And fuck management if they force it down on me.
- cableshaft 6y agoI like pairing for debugging a problem or discussing a design solution. You get stuck, bring someone in and discuss it, let them look at the code, point something out that sets your brain on the right track, or a solution pops in your head from something random they said or from the process of you explaining thing. Many, many issues have been solved that way. But I hate it in all other circumstances, especially when it comes to actual coding.
- stjohnswarts 6y agoThis works and I think is the natural way of things for human beings to bounce things off one another but for it to be a constant; no way!
- thomascgalvin 6y agoPairing is also, bar none, the best way I've seen to onboard a new hire. There is no better way to learn a codebase than to work closely with someone who knows that codebase, on a real-world, production problem.
- JohnBooty 6y agoYeah. I almost want to say it's the only realistic way to onboard. Depending on the codebase, I feel it's literally 10-50x more productive.
- vertis 6y agoI had so many negative experience pair programming that I started to find ways to avoid it. There were the pairs the insisted on using vim[1]. There were the pairs that hogged the keyboard. I'm sure there were other things that frustrated me about it (it's been a long time since this was an every day thing now). In the end though, I opted out of pairing, first by taking a devops role at the same company that didn't require it, and later by not applying to any company that had that as a requirement. To be clear, I'm not against pairing occasionally, but overall I prefer to be alone with my thoughts while programming -- not having to negotiate every little thing with a new pair. If that doesn't suit the company, then so be it. [1] I have nothing against vim, and I even know how to use it's basic functionality, but it's a huge barrier to being involved and efficient on someone's computer.
- dcminter 6y agoHeh. I have to wonder if the pairs that insisted on using vim might be using that as a politically acceptable way to avoid pairing!
- davidrupp 6y agoI worked with some vim power-users (I was definitely not one myself), and learned a lot from them by accommodating their preference. Similar results for other tools that I might not have picked up on my own. The only thing I drew the line at was switching to Dvorak with the one dude who carried his own special keyboard around with him. Even that I consider a missed opportunity, but I knew it would have wrecked my productivity at first, and it would have confused my muscle memory for QWERTY for the other 80% of my work week.
- vertis 6y agoI know people that feel that way about it. I can't argue, I also had some really great pairing sessions where I learned a lot. On balance though, it was not what I wanted out of programming. I have no problem with people that want to do consensual pairing (heh). To make that a focus for their career. It just wasn't for me. I've ended up going in a different direction now building a startup.
- deleted 6y ago[deleted]
- lmilcin 6y agoI like pair programming. Now, it is important to understand that, when you pair with somebody, not everybody has the same stamina or they might have worse day when you have your better, etc. I set limits on pair programming. It seems to me 4 hours of true focus is a limit for most people on most days and pair programming requires constant focus whether you are driving or observing. Other 4 hours are left for administrativia, some other smaller tasks, personal learning, making up for the stuff you were too embarrassed to ask during session, etc. -- As to comments that talking constantly breaks your concentration and slows you down -- yes, it does and at the same no, it does not. It is just a different way to achieving the outcome. If you are programming alone you have better ability to focus, you can start/end when it is suitable for you, you don't need to consult every single part of design. But what is left is that you are making mistakes on your own (and the longer it is uncorrected the higher the cost of fixing it) and there is no other person that knows how the stuff you developed works. So while you yourself program a little bit slower, you are also achieving other goals concurrently with writing the code -- getting it honestly reviewed, passing knowledge, etc. I have also found that verbalizing and explaining what I do many times causes me to find issues that I could have probably missed. -- I personally like pair programming especially when I want to transfer some of the techniques and reasoning I use when developing solutions. This is not something that can be passed through presentations or reading and explaining the code.
- edem 6y agoThis means that if I'm working alone I can do the same amount of work with 2 pomodoro hours (absolute focus for 50 minutes x2).
- lmilcin 6y agoPomodoro does not generally improve focus, it just helps prevent procrastination. Pair programming is another way to do the same -- since you have agreed with the other person to start at agreed time and work for specified number of hours it is much more difficult for you to suddenly stray to reading Hacker News. It does not necessarily mean your quality of focus will be better, it just means there will be minimum quantity of it.
- dimmke 6y agoPair programming is great! When you click with the person you're paired with. When you're with someone who you don't like/is defensive, it's terrible.
- bhussai20 6y ago[Edit: Article is spot on] In my experience, pairing works really well to deal with ambiguity, as in problem solving. In my experience, management often mistakes ambiguity with uncertainty when allocating resources to a project or engagement. This results in terrible pairing experiences where you've been allocated to a project where your normal tech. stack simply doesn't apply. You're suddenly in the weeds learning a new language / framework / deployment-environment playing catch-up with your pair, while your pair is trying to burn-down the actual task/story at hand. Yes, Software engineers should be willing to learn new things. But, No, I'm not willing to sacrifice the primary psychological safety of knowing "I'm qualified to do my job" just to keep a cadence.
- travisgriggs 6y agoAgree with many sentiments described here. I was one of the early pioneers in this area, starting with XP in 1998. At the time, it was cool because it was counter culture, rather than cargo culture. I remember having to get approval from the president of our 500 person company to come in on our own time on a Saturday to take down a cubicle wall, so that we could have a larger collective space. Some pairings were a delight to participate in; others more strained. But when it worked, it was super cool. It was like that dribble attack on the goal where you just read each other's minds. One thing we learned early on though, was that any real debugging didn't work well this way. We even codified it as "debugging break" where we would split apart and sort of mumble aloud the different things we were seeing as we pursued our various intuitions and hunches. Now days, I rarely pair anymore. The skill gap in my current team is pretty varied. The sense of self is strong, which generally goes against the "us before I" gestalt of pair programming. I do find when I need to answer questions or demonstrate, I tend to put myself in the passenger chair and turn it into a pairing experience for the other.
- mrozbarry 6y agoI've worked on teams historically that did pairing (even pairing all day), and mobbing all day, and I don't get the hate. If the main issue is burnout, then what's up? Even working solo you can burn out, so I don't think that's a valid argument unless someone can convince me that specifically pairing is causing the burn out. The biggest thing is you need a team that can trust and support each other.
- chrisseaton 6y ago> unless someone can convince me that specifically pairing is causing the burn out If someone tells you something is causing them anxiety and stress can't you just accept that rather than requiring to be 'convinced'? You say you want a team that supports and trusts... yet you don't believe people when they say something's causing them pain.
- mrozbarry 6y agoIt's not that I don't trust the burnout, but I want to know what aspect is causing burnout. Is it talking all day? Is there stress because someone is watching you work? Are you not taking enough breaks? These things aren't all specific to pairing, which means that pairing wouldn't always be the issue. Sure, some people are just not the type of people that are good at pairing, and that's valid, but it's important to identify the problem. That's where trust and support comes in. If you can't talk about why you are feeling burnt out with your team, then there is a deeper issue that your team needs to figure out.
- azhu 6y agoThe author explains it well IMO. Mentally computing an appropriate response to present to another human takes energy. The more different that human than you, the more energy. There'll be some outliers that are inordinately drained by pairing. I agree that if someone can't talk about why they're feeling stressed by their work environment then it's a deeper issue than just a personal one. I would point to leaders whose lack of understanding of higher order truths about humans, like that humans are different and space needs to be permanently held for those differences to be surfaced and coalesced, can cause their well intended questioning to come across as personal attack, thereby incentivizing the team member to stay quiet. Trust is the end state of solving a communication problem. But it's a systemic quality and needs to be cultivated from the system as a whole, not any one member.
- monkey_monkey 6y agoAs with almost everything, the truth is somewhere in the middle – pairing isn't universally good, nor univerally bad. It shouldn't be done all the time, neither should it never be used. "There is no silver bullet." Fred Brooks wrote this over 30 years ago, and it still applies.
- Ashanmaril 6y agoWhen I started my first job programming job out of university, I spent a lot of time pairing with one of my teammates (online) at the beginning. Not necessarily because it was enforced, but I think we figured it would just be a good way to learn. This went on for a few months, over time I'd take shots at doing tasks for myself, some with more or less success. Then eventually that teammate moved to a different team, and suddenly I was doing a lot more stuff on my own and... I learned WAY faster. I suddenly realized how dependant I was being when we were pairing all the time. Call it a self-discipline issue maybe, but if I ran into a roadblock I'd just ask him for the solution cause otherwise it felt like I was wasting time to not figure things out for myself. But once that crutch wasn't there, I had to think about things for myself more, and it was like a couple week before I was feeling way more confident in my skillset.
- Netcob 6y agoThe game mentioned in the article, "Overcooked", actually caused my first and so far only visual migraine. It just completely stressed me out, forcing me to focus on an impossible task. Suddenly my vision looked like someone threw a wiimote into a TV. I think pair programming is nice when cracking a tough nut of a problem or doing something highly safety-critical, but it's very taxing and there's no way I could do it all day long.
- sc68cal 6y agoIf your programming routine is causing someone to go on short term disability because it has caused them significant mental impairment, why was there never a discussion about perhaps too much of a good thing is now damaging our workers? Like, nobody thought to themselves, this is causing actual damage to our workers, and maybe we should scale it back?
- dkarl 6y agoIt's very hard to imagine how other people experience it, because people's experiences can be so wildly different. My wife can carry on conversations while solving problems and getting her work done. It helps her think. She can also talk all day, quite literally, conversing without pause from the moment she wakes up until the moment she closes her eyes, without feeling that it takes any extra energy. If anything, talking is a bit easier than not talking, and it frees her brain to work more creatively and systematically. Me, I'm exhausted by conversations that last more than a few minutes, and talking interferes with my ability to think. I have to tell my wife sometimes, "Look, I know you shared this new piece of information with me half an hour ago, but we've been talking about it the whole time since then, so I haven't processed it at all. I don't know how I feel about it. I haven't thought about how it changes things. I'm just trying to force out utterances at the expected conversational rhythm until we stop talking and I can engage with the new information." These two experiences are so far apart that it's very hard to comprehend someone on the other side. In fact, I think it's even harder for someone like my wife to understand someone like me, because I've had it drilled into me from a young age that my way is not the normal one. Lots of people seek professional help because they are too much like me and want to be more "normal" like my wife. Vice-versa, not so much. My wife loves me and has been living with me for almost five years, but she is still working to internalize the fact that these differences are real. She still has to fight with her gut-level assumption that I experience conversation much like she does, and if I don't partake, it reflects hostility or indifference, and if I say I can't, I'm malingering. If she still has to consciously override that reaction, imagine a management layer of extroverts whose only exposure to introverts is through managing them. To them, it just looks like some people are adapting and thriving, and others are obstructing and malingering.
- chrisBob 6y agoI can't imagine pairing full time, but I did it for brief stints as a customer of Menlo Innovations. All customer code must be written by pairs, but one option to reduce costs is to have the customer supply half of the pair team, so I did this for a few half days one one project. This is obviously scary at first because someone is going to watch me code! It turns out that it is perfectly normal to use google/stackoverflow to write programs, and I actually found the experience reassuring once I got past the shock of having someone look over my shoulder. My team does not do pair programming, but I understand why Menlo does it, it it works great for them. Some benefits I saw were: 1) It is great for junior developers. It's like turning mentoring up to 11. This means that it is much easier to hire people because you can fill seats and actually train people. 2) They have a special kind of family friendly culture where people have their infants in the office. One half of a pair can be holding their 3 month old and still contribute as half of the pair. I think they get slightly less keyboard time, but it still works. 3) Developers changed projects a lot. Splitting the day between two projects seemed normal, and 3-4 different projects in a week was standard. The pairs provide some continuity during these transitions. Major down sides include the fact that you can't visit HN during work time. That means that the opinions here are likely to be skewed. There are places and situations where pair programming isn't a good fit, but after seeing it in practice, I think there are also places where it is a good fit.
- chrisBob 6y agoIn answer to a sister comment about a location where pairing was only for the underlings (https://news.ycombinator.com/item?id=27103743 https://news.ycombinator.com/item?id=27103743) I will say that one other thing Menlo does to show they are serious is that the do pairing in other places too. Even their "High Tech Anthropologists" (people who get the specs from the customers), and the project managers work in pairs. I think that helps the culture around pairing significantly.
- pizzeriafrida 6y agoI had a great time pairing with a few individuals from my past, and I'd describe the sessions as playing a coop game with friends. It was fun to team up and figure out a problem and build something; the shared joy of overcoming some hurdle. Similarly had good experiences 'mob' programming, 7 of us in a conference room focused on building out some new thing. But again, it felt more like hanging out with friends and playing a coop game together.
- PragmaticPulp 6y agoPairing all day, every day is a relatively rare version of pair programming. In every case I’ve seen, pair programming was only done for a few hours a day or in select circumstances such as architecting a system. Browsing the comments, that seems to agree with what most people have experienced at their jobs, with the exception of a few horror stories about companies that forced 8-hour per day pairing and paid the price for it.
- MockObject 6y ago> There are people who can pair indefinitely, for years. Who don’t experience the most demanding version of it often. Whose recovery capacity comfortably outpaces the demand. I've paired for years, at two companies, but I have no personal sensation of "recovery capacity", because I'm an extrovert, and pairing gives me energy, instead of draining it away. One of my biggest complaints with my current company is that pairing is never done. Extroversion is nothing but a neurological condition from birth. Pairing is awesome for some, and torture for others. Another benefit is the ability to work productively in the noisy Great Hall offices into which careless management and high office rents conspire to confine us. Instead of requiring the dead silence I need for solo concentration, I only need to be able to hear my pairing partner over the constant din of telephone calls, and reviews of last night's tacos, aisles away.
- kodah 6y agoI've found pairing really useful for certain activities. If I'm working on very critical code or if I need to churn something vast out quite quickly, then pairing has served me well. As a new generation enters software I've noticed there's some differences, but it follows the same theme. Aside from pairing, they like to watch people code. Notably, I had a codebase that had been through a POC but lacked some E2E tests, so I streamed myself writing tests and refactoring code to make it more testable. The engineer picked up on the tools I was using, what I was doing, why I was doing it, and got to see me make mistakes. I think this is yet another avenue where we have opportunities to engage young devs and onboard them more quickly. As someone that loves and suggests pairing, I'll pass on this: - Never mandate pairing, authorize it. Some people really don't like pairing and will just complain endlessly. - If you authorize pairing, find two people who are really good at it and have them train people on how to do it with your equipment and your environment. - Personalities that clash on a team will predictably not pair well together.
- saul_goodman 6y agoI think it says a lot that there are 156 comments in this thread and introversion is only mentioned three times including this comment so far. More people need to take personality tests lol. You can't operate indefinitely this way as an introvert, it's physically impossible. Extroverts simply can't comprehend how impossible this level of interaction on a daily basis is for an introvert. Programming is an inherently internal process which is introversion, and naturally draws people that lean more towards introversion to this field. I'm not dismissing the benefits of pairing, but to do it while completely ignoring the needs of the target audience (predominately introverts) is ludicrous and of course this burns people out. Introverts, to varying degrees, expend energy in the presence of other people. They have to be alone to recharge. There is often a misunderstanding that introverts are just shy, this is a fundamental misunderstanding. Shyness often accompanies introversion but they are fundamentally different aspects. Extroverts are the opposite, they gain energy when interacting with others. Most people are some form of omnivert, certain interactions can drain them and other interactions can give them energy. No matter how beneficial pairing is it will fail if it doesn't learn to adapt more to the needs of the core user: introverts.
- hkt 6y agoI paired at HMRC (the UK's IRS) for about four months. I quit when I was an anxious, depressed wreck who couldn't face going to work anymore. It was a completely soul destroying experience. The emotional labour involved in managing colleagues (especially those who are less experienced) all day every day is so intense I could barely function outside of work. Steering people towards solutions when they were hung up on irrelevant stuff, explaining things to people who were themselves exhausted in the same way I was, remaining engaged when my screen share was hijacked yet again by someone who "just" wanted to show me something. I have no idea how the author lasted so long. It took me less than 100 days of pairing (partly through a northern English winter) to quit. Added to the above, the 'standard' Zoom caveats apply, too: https://www.bbc.com/worklife/article/20200421-why-zoom-video-chats-are-so-exhausting https://www.bbc.com/worklife/article/20200421-why-zoom-video...
- topkai22 6y agoI find pair programming a useful tool. It's great as patterns and practices are getting stood up on a team, for ramping new members, disseminating knowledge or for wrestling through novel code. As the article gets it, at can also be very emotionally draining so team members don't reach for enough on their own. As a lead, I regularly encourage or instruct my team to pair. However I also wouldn't make it an "always on" policy. It IS exhausting, and it is inefficient in many cases. We've also adopted a few alternative practices (especially frequent "mob coding" sessions where we work through problems as an entire team rather than just pairs) that people find less draining.
- sharkbait00 6y agoPair programming was invented so consultant bodyshops can bill customers twice the price for half the mediocrity.
- ryanmarsh 6y agoPairing is hard because it involves two or more brains trying to solve a complex problem live through mediocre sensory and speech motor systems. Naturally it’s going to work fine for some and be disastrous for others.
- skeletal88 6y agoI joined a boutique software development consultancy where 90% time is spent doing pair programming. It works out well for them since they only take people who like the idea and process of it. I saw one guy leave after a short time because it wasn't for him and it's ok, this is why there is the probation period. The company has been successful here - our clients like us, they say we are the only partners they have had who actually deliver what they promise, etc
- pavel_lishin 6y agoThis is an introvert's nightmare. The "fear of being vulnerable", or "showing my limitations as a human or engineer" are so secondary to the emotional drain of having to be that close to a person all day, every day at work, they don't even show up on the horizon of concerns. Pairing is incredibly useful and valuable, but doing it all day would be hell. If someone told me that they wanted me to pair for the majority of my day, or even the majority of code I wanted to write, the first thing I would pair on would be a letter of resignation.
- redisman 6y agoReading about them only having workstations for every other people, I would have turned on my heels and walked out the first day!
- jdlshore 6y agoAs an introvert myself, strong disagree. I (and introverts in general, to my knowledge) don’t have any trouble interacting with people in small group settings when those interactions are focused on ideas. The problems come with large group settings and small talk. Pairing is in the first category, not the second.
- pavel_lishin 6y agoYour description of introversion fits with mine, but pairing with someone _all day_ would completely drain me of any energy.
- stjohnswarts 6y agoI just can't do pair programming. I like doing my work, testing a bit and throwing it over to CI, QA, etc. Sorry, I'm just not that social, nor do I want to be in communication that often with any other human being other than my kids or wife.
- ltbarcly3 6y agoLots of people burn out. There's no reason presented to think the author would have had more, less, the same, or no burnout programming on their own. They happened to burn out, and they happened to be pair programming for an extended period of time. Myself and friends have also experienced burn out, and none of us pair programed any significant amount.
- hamburglar 6y agoI used to work at a startup where I was the most senior engineer below one of the founders, a guy who happened to be remote, thousands of miles away, except about 2-4 times a year when he would fly in for a week or so and share my office with me. He was very enthusiastic about pair programming and we would do this for a couple of days every time he was in town, and afterwards would rave about how thrillingly productive it was. Except it wasn’t really true. I did really enjoy us putting our heads together and solving problems, and a day pairing really did feel more productive in absolute terms than what I would accomplish on my own, but more than twice as productive? Not a chance. More than twice as exhausting? Definitely. 4-8 days a year is about all I could take of that. PS my theory about why he found it so invigorating and productive was that normally, he was too busy to ever spend an entire day writing code. He would be interrupted with meetings and questions all day. The difference when we were pairing was that he was “hiding out” for an entire day with his head in an IDE and shutting everything else out. I suspect he’d find it equally invigorating if he had the ability to do that on his own.
- redisman 6y agoAs an introvert with a family needing random breaks through the day, if this became the standard I would immediately leave the software industry.
- PostThisTooFast 6y agoSeveral paragraphs in, and still hasn't defined "pairing." NEXT
- davidrupp 6y agoI worked at ThoughtWorks for three years, and -- like everything else XP -- pairing was very much the norm, for the software engineers, and I believe on the whole it worked to our benefit. I am off-the-chart introverted, so the forced intimacy aspect was a nightmare, but I balanced that emotional downside with the intellectual upside of learning a ton of things I might not have otherwise from the folks I paired with.
- danbmil99 6y agoShoot me now
- asab 6y agoI was a Pivot - this article rings true. When I first joined people would often describe with joy how exhausted they were every single day for months when they first joined, as though it was evidence of learning and growth. That’s only true sometimes. What I realized is that it doesn’t actually stop being exhausting, people just adapt. There is a difference between being tired because I applied myself, did something meaningful and useful, and learned something new, compared to just being tired from navigating personal interactions all day every day.
- rmk 6y agoIs it really true that Pivotal had only n/2 workstations for the n devs? That seems to be an extreme arrangement (pardon the pun). I can see the benefit of pairing when (a) the problem is somewhat well-defined, and there is a natural 'end' to the exercise. For example, a P0 bug that needs fixing immediately, and there's not much time for additional code-review. In this situation, pairing with the person who knows the area well may be beneficial, because you get code-review while solving the problem. And your non-keyboarding partner can see things that you are too deep in to see. (b) an interviewing technique to see how you collaborate and approach problem-solving (once again, there's an element of non-open-ended problem-solving here). I must hasten to add that this should not be the sole evaluation method in an interview, because many people can't collaborate impromptu with someone they do not know, and many people prefer to let their minds wander in search of a creative solution, which can look like cluelessness in an interview situation. (c) inducting a new developer into a team: by watching a veteran at work and the techniques he uses, a new hire can quickly absorb best-practices that will bring his productivity to a high level in a relatively short time period. Once again, this must be done for shorter time-periods: it's pretty much impossible to maintain a high level of engagement with a problem for hours on end. Putting the problem in your back pocket, and sleeping on it often leads to flashes of insight that can deliver robust, clean code (the first system or solution to a problem is almost never the best, particularly in software or schema design). I can't imagine many other scenarios outside of these, particularly for routine software development work, especially when code review by peers is a mandatory step in the process. You are probably removing the element of slow thinking, which can improve product considerably, by forcing pairing all day, every day. How does such a wonky culture take root in a fairly large organization anyway? A lot of senior developers would just refuse to work for such an organization!
- Huggernaut 6y ago> Is it really true that Pivotal had only n/2 workstations for the n devs? By and large yes this is true. There were some teams that experimented with odd numbered sizes and others that were split remotely that required more to facilitate all pairing rotations. > How does such a wonky culture take root in a fairly large organization anyway? I suppose wonkiness is in the eye of the beholder. The company was simply built around XP, with pairing being a core part of that. I went to Pivotal (2015-2019) because I wanted among other things, to try pair programming from some of the most committed to it. In that way, it's self-selecting. It was baked in throughout the interview process. Sure, there are a lot of senior engineers who will never get on board with pairing, but there also are far fewer companies that commit to it in the same way.
- azhu 6y agoHumans are fundamentally meant to interact and collaborate with other humans. Technology has obscured this by empowering us each to be resourceful alone. In the long term, we indeed do operate best collaboratively.
- _dps 6y agoI'll confess my bias up front: pairing has never worked for me, and I really just can't write serious code unless I'm in my own head. Having said that, let me now ask pairing proponents: can you give me a rough idea of what you believe the economics to be? Because from my perspective the two people working together on the same program need to deliver value twice as quickly as a solo programmer merely to break even. Based on what I've seen my median estimate for how much quicker things go is ballpark 1.25x, and then throw in some amortized benefit for knowledge transfer and camaraderie. But in my biased opinion find it a stretch that you even hit break-even with high probability. So, I would love to hear from pairing proponents how they think about the development economics and the size of the win.
- xtat 6y agoI feel like in 2021 I can roundly refuse to engage in pairing and question the experience of anyone suggesting it.