News for hackers. Stuff that matters.
Re:Interruptions cost 23 minutes 15 seconds, right? by dylan604 on Saturday August 23, 2025 @10:05PM (#45000690)
I've never done official pair programming, but I get frustrated when I'm not on the keyboard as I find others think slower.
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Saturday August 23, 2025 @11:26PM (#45001070)
I usually prefer to be navigator than driver. It's the navigator that does the high level thinking. The one at the keyboard is the one who's usually better at typing and writing out the design patterns that are agreed upon. Of course we did swap roles routinely, maybe several times a day. Oh and to top it off we switched pairing partners every week or two. It was a brutal experiment but I learned a lot and I'd say it was a great success.
Re:Interruptions cost 23 minutes 15 seconds, right? by kmoser on Saturday August 23, 2025 @10:40PM (#45000842)
Have you tried plugging in a second keyboard and taking over where necessary? I do a lot of remote work in which my colleague and I work on the same computer and it's quite useful for either of us to jump in with our own keyboard (and mouse). It does take a bit of occasional verbal negotiation to agree on who really knows what to do (and can do it fastest) but if you communicate well then it's pretty easy.
Re:Interruptions cost 23 minutes 15 seconds, right? by bn-l on Saturday August 23, 2025 @11:08PM (#45000983)
Damn I wish I had a relationship with someone like that.
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Saturday August 23, 2025 @11:30PM (#45001098)
Right I only call using the same computer pair programming. Now working remote (with Tuple app) it's still two keyboards/mice on one computer (sometimes mine, sometimes theirs), though it's infrequent for specific tasks.
Re:Interruptions cost 23 minutes 15 seconds, right? by Waterluvian on Sunday August 24, 2025 @12:55AM (#45001516)
The wildest thing I experienced once was this experimental “two cursors, two highlights, two clipboards” setup. I badly wish that had caught on. It was like Google Docs but Local Multiplayer.
Re:Interruptions cost 23 minutes 15 seconds, right? by nine_k on Sunday August 24, 2025 @01:18AM (#45001604)
One of my previous employers, Dynaboard, built approximately that.

The Show HN post: https://news.ycombinator.com/item?id=30261598

Re:Interruptions cost 23 minutes 15 seconds, right? by goosejuice on Sunday August 24, 2025 @11:41AM (#45005075)
Tuple.app does this. It's pricey but an excellent product.
Re:Interruptions cost 23 minutes 15 seconds, right? by konsalexee on Sunday August 24, 2025 @01:46PM (#45006166)
If you enjoy Tuple, we just silently open-sourced Hopp (one of the maintainers here), we are still in Beta era, but would love some feedback!
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Sunday August 24, 2025 @03:11PM (#45006815)
I sometimes wish the separate clipboards could be turned off, or have a way of pasting from the other's clipboard.
Re:Interruptions cost 23 minutes 15 seconds, right? by ustad on Sunday August 24, 2025 @01:41AM (#45001693)
Can you say more about your setup? Does it require extra hardware/software?
Re:Interruptions cost 23 minutes 15 seconds, right? by kmoser on Sunday August 24, 2025 @02:47PM (#45006625)
We're just using TeamViewer. I connect remotely to my colleague's computer while they are sitting in front of their keyboard.
Re:Interruptions cost 23 minutes 15 seconds, right? by EagnaIonat on Sunday August 24, 2025 @01:48AM (#45001724)
There is evidence that two people on the keyboard can increase productivity.

https://www.youtube.com/watch?v=kl6rsi7BEtk

Re:Interruptions cost 23 minutes 15 seconds, right? by rubslopes on Sunday August 24, 2025 @12:06PM (#45005314)
Of course I knew which video it was before even clicking.
Re:Interruptions cost 23 minutes 15 seconds, right? by dcminter on Sunday August 24, 2025 @04:31PM (#45007501)
I was rather expecting it to be this one: https://www.youtube.com/watch?v=NnJnejHhjtI
Re:Interruptions cost 23 minutes 15 seconds, right? by stevetron on Sunday August 24, 2025 @09:29AM (#45004116)
What about an editor that is designed for multiple people to edit the same document? Tie the second keyboard, the second mouse, and a second cursor as resources together and independently edit?
Re:Interruptions cost 23 minutes 15 seconds, right? by el_benhameen on Sunday August 24, 2025 @11:54AM (#45005212)
I do this, but with a second monitor and second machine, and then we use git to synchronize our work
Re:Interruptions cost 23 minutes 15 seconds, right? by tstenner on Monday August 25, 2025 @01:21AM (#45010478)
With VS Code and IntelliJ you can even do it in the same documents at the same time
Re:Interruptions cost 23 minutes 15 seconds, right? by godelski on Sunday August 24, 2025 @02:18PM (#45006400)
Just a reminder for everyone, you can do this with tmux. So you could even just sit next to each other (or not) and be on your own machines.
Re:Interruptions cost 23 minutes 15 seconds, right? by saagarjha on Saturday August 23, 2025 @11:34PM (#45001123)
I find that working with people who are smarter than I am helps a lot with this.
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Monday August 25, 2025 @09:37AM (#45013718)
It works both ways. Even for the 'smarter' person, they have to form their ideas clearly in order to communicate it to be understood. By themselves they could just start writing random classes that feel like they might be part of the solution and get themselves in corners more often.
Re:Interruptions cost 23 minutes 15 seconds, right? by glxxyz on Saturday August 23, 2025 @10:38PM (#45000835)
"no the other one, down a bit, no the one above, no go back..."
[dead]
Re:Interruptions cost 23 minutes 15 seconds, right? by Dilettante_ on Sunday August 24, 2025 @05:41AM (#45002838)
This is why you need to learn vim commands /hj
Re:Interruptions cost 23 minutes 15 seconds, right? by mrbombastic on Sunday August 24, 2025 @11:03AM (#45004754)
Calling out explicit line numbers and zoom annotation tools help with this
Re:Interruptions cost 23 minutes 15 seconds, right? by exe34 on Sunday August 24, 2025 @10:27AM (#45004510)
for me it's not that I think faster, it's just that I will check 10 things really fast and exclude the "no it can't be there" things - because that's usually where it is. So if somebody else is holding the mouse and keyboard, I would then have to convince them that these things that they are convinced are fine need checking.

I really hate this work of convincing them, because it's much faster to check it first and explain why it was a good idea later once I've fixed the problem.

Re:Interruptions cost 23 minutes 15 seconds, right? by globular-toast on Sunday August 24, 2025 @10:58AM (#45004715)
I find the less dominant person just switches off, stops thinking and just becomes a keyboard with about 20x the latency and 10% the speed and accuracy.