Skip Navigation

Random Question: is it weird I don't like pair programming?

I've been working in programming for a few years and I think I really dislike Pair Programming; I understand how it is but I often find it mind-numbingly dull. I have a feeling I'm doing it wrong but I feel like as a part of a dev team tasks should be broken into discrete enough chunks that a single person can just blitz through the work... Maybe it's just me, what are y'all thoughts on the matter?

29 comments
  • I've always felt that pair programming is more useful on early stages of a task, where there is enough doubt about implementation details and discussing them is worth.

    This way it felt more of a meeting between two persons discussing details first, while testing them live to check if we were on track second, instead of programming first and discussing second.

    By the time we stand on the screen without talking too much we just stepped aside and separate the task if needed.

    Any other kind of forced pair programming feels wrong, either because the task was already planned enough to no create enough discussion, or because it was small enough and the discussion was not worth. I've found myself on situations where "we needed" to make a task in pair programming and was dull as you say.

  • Pair programming is a weird thing. It's either an awful, uncomfortable experience or one of the best things to happen. It's a combination of the developers and the task that determines how that particular experience will turn out.

    Pair programming should be required for both new employees and for employees who have given their two weeks notice. The first allows the experienced developer to help ease newer employees into the workflow. The latter helps bring an employee up to speed with regards to the leaving employees duties and tasks.

  • I've found pair programming to be fantastic, but only when used rarely in certain situations.

    If you've got a good rapport with a teammate and a legacy project has landed in your lap neither of you understand, I've found pair programming to be the fastest way to figure out how it works. As you work together, you'll both understand different parts of it better and be able to quickly figure out what's going on. I guess this is probably less pair-programming and more like collaborative dissection of code though.

    I've also used it to help onboard people on a project fairly quickly. This is more tricky and much less comfortable to do, so I do my best to stay in tune with what they need from me, and tends to be me coding for a bit and them following along and asking questions. Eventually, they want to start writing some code, and a day or so of switching back and forth is as far as I've usually taken that. I think it's useful to break down barriers when working with (especially new) people, to make mistakes in front of them, and build good rapport.

    I've not used it much beyond those situations, but I'd definitely use it in these ways again.

  • It completely depends on what is being worked on. In my experience, it is well suited to nebulous work filled with unknowns, and Ill suited for mundane, well-defined work.

    I will say pairing is quite exhausting, just in terms of how “on” you have to be for long periods of time. Running solo you can turn off and find that flow state.

    Someone else will have a completely different opinion I’m sure. Yay software.

  • A bit from an ops-side, but I think it applies. I think pair-work, pair-programming, pair-troubleshooting is a tool for specific situations. It's amazing in some places, and an exhausting waste of company resources in other places.

    Like, if we're in a hard situation with many unknowns and possibly horrible consequences of mistakes. Critical systems down, situation is weird. Or, implementing config management for something entirely new. Or, trying out new code structures, ideas. That's when being two is great. You can bounce changes you make to the system off of your copilot, so you can be very safe while being fast. You can have two opinions about shaping a piece of code and APIs. You can iterate very quickly if necessary.

    On the other hand though, there are things that require deep thought. Like, I had to figure out how 4-5 teams use an infrastructural component, what's the live cycle of the component, when to create it, when to delete it, how to remove it. It ended up being twelve lines of code in the end, but like 1 phone call every two lines of code, and an hour of thinking per line of code. Pair programming would not have been compatible with this.

    Or, the third kind, is crunch work. The best way to do crunch work (besides automating it) is to just put up headphones, find flow and hammer it down. Have it reviewed later if necessary. But why would we need 2 guys following the same runbook for the upteemth time?

    It's a great tool to share knowledge and to handle critical tasks with high error potential and I wouldn't want to miss it for that. But it can be overused in my book.

  • I enjoyed pair programming a lot for the two years I was on a project that did that. We paired every day all day, and I felt that it really drove a team dynamic where people understood the code, and the problems we were solving, and were comfortable and knowledgeable enough to have deeper discussions about technical and architectural direction.

    There are some things I really miss, too. We didn't do code reviews, because two people always had eyes on the code. We rarely ever had bugs in the code that were due to programmer error. I liked that when we came up against a tough problem there was immediately someone to bounce ideas off of, or give input if we were heading in the wrong direction. It felt very much like a team versus what I've experienced in my last 8 years of solo programming.

    On teams where we are working alone there's usually a lot of individual ownership over certain parts of the code. The team never feels really in tune with what everyone else is working on and what direction we are moving in. Usually a minority of the team are the vocal decision makers, and everyone else is just pulling tickets and churning out code.

    With paired programming it can feel like you're learning something new every day. You're either paired with someone more junior, more senior, or at around the same level, and each of those groupings provide for different learning experiences and growth opportunities.

    I agree that paired programming is not a silver bullet, and I agree that sometimes I felt like having two people on a task was wasteful, but overall I think it brought our team closer and made us more effective in the grand scheme of things. I miss it quite a bit!

  • Pair programming is a useful tool but like all tools it can be misused.

    Edit: Typo, s/paid/pair/

  • I like it because I do less work and I can just talk about concepts and implementation.

29 comments