News for hackers. Stuff that matters.
Re:Interruptions cost 23 minutes 15 seconds, right? by Waterluvian on Saturday August 23, 2025 @07:25PM (#44999915)
Some days an interruption will throw me off my train of thought, and I spend the remaining six hours collecting discarded bottles and railway ties for hopeful use somewhere, somehow, sometime.

Other days an interruption costs me pretty much nothing.

I’m still trying to figure out how to tell which of those days I’m going to have and whether to just not log into Slack for the day.

Re:Interruptions cost 23 minutes 15 seconds, right? by thecoppinger on Saturday August 23, 2025 @07:30PM (#44999940)
Right there with you :)
Re:Interruptions cost 23 minutes 15 seconds, right? by nashashmi on Saturday August 23, 2025 @08:32PM (#45000236)
So the average is 23 min 15 sec right?
Re:Interruptions cost 23 minutes 15 seconds, right? by Waterluvian on Saturday August 23, 2025 @09:08PM (#45000395)
Ahahaha… I mean… gosh, quite possibly?
Re:Interruptions cost 23 minutes 15 seconds, right? by bubblebeard on Saturday August 23, 2025 @08:50PM (#45000314)
My feelings exactly. Whenever I get one of those days I’ve found I get more done away from my desk. Taking a walk in the forest or doing some household chores can really help you get back on track.

Of course at times it’s just better to admit altogether this isn’t a day meant for work and spend it relaxing instead. Usually, the benefit of that is a really productive day at work the day after too, everybody wins.

Re:Interruptions cost 23 minutes 15 seconds, right? by Waterluvian on Saturday August 23, 2025 @09:11PM (#45000406)
Almost all my employers and managers have been very understanding about this. But one of my favourites was a manager earlier in my career who picked up that I was anxious about my work hours and ethic. To paraphrase, he said, “the company isn’t paying you to solve problems M-F 9-5. It’s paying you for when you solve them in the shower or on a walk or when you’re putting your kid to bed, and then come into work and implement the solution.”

I’ve thought about this for years as I tune my work life balance. I’ve never felt like I’m wrongly bringing work home with me that way. It’s always felt like an incredible optimization where my job gives me these puzzles I get to carry with me and work on when I’m bored or my ADHD addled brain screams for stimulation.

Re:Interruptions cost 23 minutes 15 seconds, right? by junon on Saturday August 23, 2025 @09:26PM (#45000495)
You've been very lucky. I wish I had a similar experience. Managers who truly think that way are beautiful creatures.
Re:Interruptions cost 23 minutes 15 seconds, right? by pockybum522 on Saturday August 23, 2025 @09:31PM (#45000516)
Do you happen to know if that one is hiring for anything at the moment? Left to solve problems at that pace, I'm pretty sure I could do some great things for them.
Re:Interruptions cost 23 minutes 15 seconds, right? by saagarjha on Saturday August 23, 2025 @11:36PM (#45001138)
Most remote work gigs are basically this.
Re:Interruptions cost 23 minutes 15 seconds, right? by pastage on Sunday August 24, 2025 @01:15AM (#45001588)
There are absolutely places where you are chained to the computer in remote positions this is a culture thing not how work is done. We have a nice culture and we are hiring, sadly not remote anymore.

I do not think it actually affects productivity in either way. What happens is that people seem to feel better.

Re:Interruptions cost 23 minutes 15 seconds, right? by bongodongobob on Saturday August 23, 2025 @10:28PM (#45000780)
I've never worked anywhere where I wouldn't be laughed at for suggesting this. "No, we do pay you to work from 9-5, M-F." You are very lucky.
Re:Interruptions cost 23 minutes 15 seconds, right? by kaffekaka on Sunday August 24, 2025 @02:51AM (#45001956)
As long as I compulsively think about work in the shower, at 3AM in bed or while out running, I will never feel guilty about thinking about anything else than work for a while during 9-5.
Re:Interruptions cost 23 minutes 15 seconds, right? by dylan604 on Saturday August 23, 2025 @10:09PM (#45000706)
This is one of the very best things to me about work from home. There are times I just get up and go piddle in the garden, take a short bike ride, or even just run an errand. I even do it when I'm stuck rather than just from being interrupted. It helps the brain to essentially, ctrl-z; bg and then move on to the next thing. When I return, I find the job %1 has completed, and I have a new approach/idea that is typically much more successful than the previous attempt of banging my head on the desk/keyboard in frustration. It's much healthier for me than vibe coding around the problem
Re:Interruptions cost 23 minutes 15 seconds, right? by jakeydus on Saturday August 23, 2025 @10:56PM (#45000921)
Sorry my grandmother used to use the word piddle to mean pee so I got a real crack out of this.
Re:Interruptions cost 23 minutes 15 seconds, right? by __MatrixMan__ on Sunday August 24, 2025 @12:25AM (#45001381)
I read it the same way and assumed they were piddling in the garden to add nitrogen to their compost.
Re:Interruptions cost 23 minutes 15 seconds, right? by jaredhallen on Sunday August 24, 2025 @01:11AM (#45001561)
In my experience, to piddle around is to fool about, while to simply piddle is, indeed, to potty. So based on that, I see where you're coming from.
Re:Interruptions cost 23 minutes 15 seconds, right? by dylan604 on Sunday August 24, 2025 @10:28AM (#45004517)
I absolutely meant piddle about, but I guess that key word got left out.
Re:Interruptions cost 23 minutes 15 seconds, right? by jaredhallen on Sunday August 24, 2025 @01:11AM (#45001562)
In my experience, to piddle around is to fool about, while to simply piddle is, indeed, to potty. So based on that, I see where you're coming from.
Re:Interruptions cost 23 minutes 15 seconds, right? by bubblebeard on Sunday August 24, 2025 @08:57AM (#45003928)
Yeah, most of my best work comes while I’m out for a run on a local forest track. I try not to think about work while I’m out there, probably that’s why it’s so helpful.
Re:Interruptions cost 23 minutes 15 seconds, right? by apercu on Saturday August 23, 2025 @09:49PM (#45000614)
100%!and also why I have been self employed for 11+ years.
Re:Interruptions cost 23 minutes 15 seconds, right? by linhns on Sunday August 24, 2025 @12:42AM (#45001460)
Same here. I often work more on the productive day if possible to maximise the roll I’m on
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Saturday August 23, 2025 @09:26PM (#45000493)
I've found one thing that minimizes interruption cost: pair programming. At one startup we pair programmed all day, every day. Resuming from an interruption was almost seamless. Can't explain it, only experienced it.
Re:Interruptions cost 23 minutes 15 seconds, right? by SoftTalker on Saturday August 23, 2025 @10:00PM (#45000671)
If only I wouldn’t prefer stabbing myself in the leg with a rusty knife over pair programming.
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.
Re:Interruptions cost 23 minutes 15 seconds, right? by cosmic_cheese on Saturday August 23, 2025 @10:58PM (#45000936)
I think the only thing that might be more frustrating is if my modifier keys rotated at random intervals.
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Saturday August 23, 2025 @11:34PM (#45001121)
Funny you should mention it. I have different computers with different keyboard layouts--including for some reason[0] modifier keys on only the left side being different on one.

[0] That's the gaming PC I play StarCraft 2 on and I found it simpler to always leave it in one mode than switching back and forth.

Re:Interruptions cost 23 minutes 15 seconds, right? by CGamesPlay on Saturday August 23, 2025 @11:02PM (#45000950)
I suspect that this would also lead to interruptions having almost no effect on your productivity.
Re:Interruptions cost 23 minutes 15 seconds, right? by wiseowise on Sunday August 24, 2025 @03:38AM (#45002168)
Because it would be in the gutter in the first place?
Re:Interruptions cost 23 minutes 15 seconds, right? by jiggawatts on Saturday August 23, 2025 @11:40PM (#45001156)
When pair programming was a fad in the early 2000s, I tried it with a coworker for a security-critical piece of code that needed two pairs of eyes on it.

It felt horrendously unproductive to have two people at one keyboard but we compared commit rates and the surprising result was that we produced the same rate of changes as working separately.

Re:Interruptions cost 23 minutes 15 seconds, right? by kaffekaka on Sunday August 24, 2025 @02:45AM (#45001937)
Does this mean you as a pair were as productive as both of you individuals combined? Or that the pair was as productive as one individual?

Pair programming is twice as expensive so it needs to be twice a productive (quality, LOC, whatever) to make sense I guess.

Re:Interruptions cost 23 minutes 15 seconds, right? by jiggawatts on Sunday August 24, 2025 @03:22AM (#45002090)
Two of us at one keyboard were as productive as the two of us separately combined.

I figured this was because typically while one person was coding the other would be researching. If you’re by yourself those are serial activities instead of parallel and the total workload is the same.

Re:Interruptions cost 23 minutes 15 seconds, right? by pydry on Sunday August 24, 2025 @03:42AM (#45002202)
I find it is slightly slower (maybe 20%) than two individuals alone but the quality is quite a bit higher and the effect of this higher quality compounds over time (i.e. less tech debt -> fewer bugs, faster development on future code).

Im quite credulous of Kent Beck's claim that when categorizing the last ~15 bugs on a project with pairs and singles he found that all 15 were in code merged by an individual rather than a pair.

If it were an application you could just install I think everybody would use it. It demands psychological safety though, which most teams dont have, and is becoming less common these days.

Re:Interruptions cost 23 minutes 15 seconds, right? by tgaj on Sunday August 24, 2025 @11:32AM (#45005003)
It's funny because it starts to be (an application you could just install) - AI agents could work as pair programming buddies.
Re:Interruptions cost 23 minutes 15 seconds, right? by SJMG on Saturday August 23, 2025 @10:55PM (#45000909)
Just wait till you learn about "mobbing"… You can feel the money being lit on fire.
Re:Interruptions cost 23 minutes 15 seconds, right? by Our_Benefactors on Saturday August 23, 2025 @10:59PM (#45000942)
This fad died out along with 0% money.
Re:Interruptions cost 23 minutes 15 seconds, right? by exe34 on Sunday August 24, 2025 @10:30AM (#45004531)
it's like 9 women giving birth to a whole baby in just one month.
Re:Interruptions cost 23 minutes 15 seconds, right? by atoav on Sunday August 24, 2025 @02:59AM (#45001994)
I one had quite good experiences with it, but the roles were very clear: he was the domain expert who knew how things should be handled and I was the person knowing the code and the processes. This way I didn't have to come up with potentially wrong handling of edge cases and he didn't have to mash his head against code he doesn't understand.
Re:Interruptions cost 23 minutes 15 seconds, right? by motbus3 on Sunday August 24, 2025 @03:34AM (#45002151)
When I was on my 2x I wanted to do more programming. Now I just I want to me f let alone to finish my job
Re:Interruptions cost 23 minutes 15 seconds, right? by bapak on Sunday August 24, 2025 @06:29AM (#45003045)
I pair program every day, my colleague is called Claude. Like you, I'm allergic to meat co-programmers.
Re:Interruptions cost 23 minutes 15 seconds, right? by andrei_says_ on Sunday August 24, 2025 @11:06AM (#45004772)
I’ve done pair programming for a short amount of time and found it stimulating and productive.

What specifically makes it painful for you?

Re:Interruptions cost 23 minutes 15 seconds, right? by kelnos on Sunday August 24, 2025 @02:41PM (#45006586)
No the person you've replied to, but for me I just find it frustrating. When I'm not the one typing, I always find the other person moving slower than I can think, not entirely getting what I want to tell them ("no, line 47, not 53 -- no, the foobar function call isn't the problem, it's the 4th argument to barbaz... no no, no that one... GAH). Maybe we can chalk this up to "communication problems", and I should have taken a pause to talk about communication with my pair partner.

I dunno. I've just always felt much less productive with someone else there. I don't view programming as a social or collaborative activity. Building software can be collaborative, but when I'm sitting down to do implementation, collaboration slows me down, and I find it very frustrating and unproductive.

Re:Interruptions cost 23 minutes 15 seconds, right? by phil21 on Sunday August 24, 2025 @06:07PM (#45008235)
Depends on what exactly you mean by pair programming. Two people sharing the same keyboard and screen and watching the other type is horror movie level stuff to me. I go from a competent typist at 140wpm or so, remembering at least some basic syntax, knowing the most common editor shortcuts etc. to a blubbering idiot 5 year old.

Sharing an office where you can’t look at each others screen unless you walk over to help troubleshoot or design a specific feature is probably my favorite mode of work by far. Especially if it’s a small hyper-competent team with a diverse set of expertise but basic generalist knowledge to navigate the entire design at a high level.

Being able to jump on a whiteboard with zero latency mid-debugging session (even trying to move to a spare conference room) is also great.

This also lets you devise team communication in a way where you can signal you are in focus mode vs not and others can gauge the importance of their ask based on that signal and knowing precisely what everyone is actually working on that day.

That said, the absolute worst possible way to collaborate is video conferencing and shared screens. Give me a shoulder hoverer over that any day.

Re:Interruptions cost 23 minutes 15 seconds, right? by wordpad on Saturday August 23, 2025 @11:05PM (#45000970)
Have you tried giving your AI productivity tool a personality so it can guilt trip you the same way?
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Saturday August 23, 2025 @11:40PM (#45001158)
That's an interesting idea, adding an AI so it could be you pair programming with a colleague remotely over Tuple, a truple. Seriously though it would take out the frustration and flow-breaking pauses while interacting with an LLM.
Re:Interruptions cost 23 minutes 15 seconds, right? by mettamage on Saturday August 23, 2025 @10:04PM (#45000685)
How can you find a startup with a pair programming culture?
Re:Interruptions cost 23 minutes 15 seconds, right? by lazyasciiart on Saturday August 23, 2025 @11:18PM (#45001037)
They’ll tell you.
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Saturday August 23, 2025 @11:36PM (#45001139)
So true. I interviewed at one where a half day was spent pair-programming with one of the team's devs doing TDD: write a test, make it green, refactor.
Re:Interruptions cost 23 minutes 15 seconds, right? by yablak on Saturday August 23, 2025 @10:44PM (#45000859)
Join a startup. If they don't do pair programming, quit.
Re:Interruptions cost 23 minutes 15 seconds, right? by steve1977 on Sunday August 24, 2025 @12:54AM (#45001512)
I guess pair programming would also minimize my interruption cost, but only because productivity would be close to zero to begin with.
Re:Interruptions cost 23 minutes 15 seconds, right? by mnky9800n on Sunday August 24, 2025 @03:19AM (#45002084)
I bet also interruptions were less likely since you seemed busy because you were interacting with each other. Therefore others may think before interruption.
Re:Interruptions cost 23 minutes 15 seconds, right? by dakiol on Sunday August 24, 2025 @04:01AM (#45002294)
Pair programming exhausts me. When I write code alone, I usually have breaks every 20 minutes or so. I go for a short walk after 1h. I look out of the window every now and then. Sometimes I put some background music. When I’m doin pair programming I’m supposed to: think out loud, look at the screen 100% of the time, sit in front of the screen for at least 1h straight. Think at the same speed than my peer.

Not worth it for me. Don’t care if we together are more productive; I couldn’t care less. I care more about my eye sight, and sitting routine.

Re:Interruptions cost 23 minutes 15 seconds, right? by dalmo3 on Sunday August 24, 2025 @05:09AM (#45002660)
I can sit and program 16 hours straight without breaks.

I cannot talk to someone else for an hour without feeling exhausted and needing a long break afterwards.

Talking to someone else while programming? It's revving up my brain into the red zone. Sometimes the adrenaline boost does its job but I do pay the price.

Re:Interruptions cost 23 minutes 15 seconds, right? by jack_riminton on Sunday August 24, 2025 @10:07AM (#45004349)
Same. It seems the coding part of my brain and the communicating are mutually exclusive

I wonder if it’s related to the phenomena of some people having a ‘narrator’ in their head or, like me, there’s no voice and it takes effort to convert abstract thoughts to sentences

Re:Interruptions cost 23 minutes 15 seconds, right? by exe34 on Sunday August 24, 2025 @10:31AM (#45004542)
no I have the voice but I can either explain or do, not both.
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Sunday August 24, 2025 @11:34AM (#45005015)
Maybe this is a misconception or misrepresentation of pair-programming, at least compared to my experience. One person isn't supposed to be doing both. You're either navigating/explaining or driving/doing. Pair programming isn't about one person doing everything and another person watching and trying to keep up. It's about communicating and sharing an understanding, like a realtime/interactive PR description/review while writing. Of course there are times where one person will simply say "let me write this out and discuss after" and go at it for a short while, but it should be the exception rather than the rule in settings where it worked best for me.
Re:Interruptions cost 23 minutes 15 seconds, right? by bluecheese452 on Sunday August 24, 2025 @02:48PM (#45006632)
This feels a bit no true scotsman.
Re:Interruptions cost 23 minutes 15 seconds, right? by exe34 on Sunday August 24, 2025 @05:46PM (#45008104)
no I actually get it, I think like most fads, it seems to work great for really trivial things or for debugging. I have myself used pair programming in those cases.

I just can't imagine using it for serious work. navigating/explaining? I know neither the science I'm trying to code nor the code I'm trying to write - I'll write code to explore the data, I'll have a hunch, I'll wonder about something and I'll go find that one paper I came across 10 years ago to check - I don't see what code the other would be writing while I'm trying to figure that stuff out.

I'm sure it works great for yet another CRUD.

Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Monday August 25, 2025 @07:57PM (#45020640)
Totally agree. I wouldn't say it's well suited for research or research-heavy work. In those cases, I'll do research on my own and reconvene later or another day.
Re:Interruptions cost 23 minutes 15 seconds, right? by karmakaze on Monday August 25, 2025 @02:00PM (#45016765)
Perhaps it is, but I'm not really going to entertain someone saying they tried it and it didn't work, when all they did was work their own screens/keyboards sitting side-by-side (or remote) each with their own ideas and not really sharing in the process, except to interrupt and annoy each other.
Re:Interruptions cost 23 minutes 15 seconds, right? by dapperdrake on Sunday August 24, 2025 @04:27PM (#45007473)
Same here.
Re:Interruptions cost 23 minutes 15 seconds, right? by jll29 on Sunday August 24, 2025 @04:57PM (#45007708)
Might have to do with the social pressure to (mutually) focus on the peer that speeds up getting back on the original focus.
Re:Interruptions cost 23 minutes 15 seconds, right? by cookiengineer on Sunday August 24, 2025 @12:04AM (#45001283)
For me the deciding factor was whether or not I had tests available for that task to get right back into it.

If I don't have tests available, I always need to re-read so much code that it feels like having to start all over again to be able to get a mental picture of the complexity.

I started to love Go for that very reason, because I always have my state written down in the form of unit tests while I am implementing it. This removes so much burden of thought after I got interrupted, because all edge cases I can write down and I don't have to actively try to remember them. Go made me fall in love with Test Driven Development, again.

Re:Interruptions cost 23 minutes 15 seconds, right? by neves on Sunday August 24, 2025 @12:39AM (#45001447)
As I get older, I feel I take more time to get back on track.

I don't feel less intelligent, maybe more experience compensates for it. I probably make less wrong turns. But I have to be more rigid to prevent interruptions.

Re:Interruptions cost 23 minutes 15 seconds, right? by heisenbit on Sunday August 24, 2025 @04:20AM (#45002393)
I try to compensate with more and larger screens. Also resorting to writing down key aspects of context and plan. Used to keep it in my head but context switches can derail me more easily now so I need a way to get back again.
Re:Interruptions cost 23 minutes 15 seconds, right? by baxtr on Sunday August 24, 2025 @02:38AM (#45001905)
For me, the difference is whether I had pre-planned my tasks or not.

Knowing what I wanted to focus on and achieve from 10-11 am makes it much easier to get back on track.

In contrast, when I simply begin working on something, I end up elsewhere easily, even without external interruptions.

Re:Interruptions cost 23 minutes 15 seconds, right? by astrobe_ on Sunday August 24, 2025 @02:45AM (#45001941)
For me, it is more about the nature of the interruption. An easy question that only requires pulling something from memory doesn't cost much. A question that requires some thinking has a huge cost, even more so when you have to check the code or documentation. Sometimes even reading an email/teams notification can throw me off. It's not about the interaction (someone coming to your desk, a call,...), it's about the topic.

However I think that in both cases, if the interruption happens while coding, the risk of bug is about the same.

Re:Interruptions cost 23 minutes 15 seconds, right? by Dilettante_ on Sunday August 24, 2025 @05:50AM (#45002868)
>A question that requires some thinking has a huge cost [...] It's not about the interaction [...], it's about the topic.

For me personally, every interaction with another person requires booting up "Human Mode™", which invariably pushes out any concentration I had on the task-at-hand.

Re:Interruptions cost 23 minutes 15 seconds, right? by deepsun on Sunday August 24, 2025 @03:05AM (#45002030)
I noticed it positively correlates with the amount of sleep I got the night before, and negatively with the amount of coffee I drank the week before.
Re:Interruptions cost 23 minutes 15 seconds, right? by nicbou on Sunday August 24, 2025 @03:12AM (#45002057)
It could be that some tasks require you to hold a lot of context in your head. Interruptions clear that context and it must be rebuilt.

Or you could be tired. It’s crazy how ineffective one gets with a little less sleep.

Re:Interruptions cost 23 minutes 15 seconds, right? by vorgol on Sunday August 24, 2025 @08:38AM (#45003807)
For me it's a combination of the nature of task, where I'm at and the nature and duration of the interruption. But usually an interruption causes a large amount of penalty points.
Re:Interruptions cost 23 minutes 15 seconds, right? by tomrod on Sunday August 24, 2025 @11:47AM (#45005151)
I find a bit of meditation before work and good coffee reliably put me in the latter state, maybe 19 times out of 20.
Re:Interruptions cost 23 minutes 15 seconds, right? by el_benhameen on Sunday August 24, 2025 @11:51AM (#45005182)
Any advice on getting started with meditation? Particularly for someone with a busy mind.
Re:Interruptions cost 23 minutes 15 seconds, right? by tomrod on Sunday August 24, 2025 @04:09PM (#45007337)
I'm not studied in any particular tradition. I typically take a few minutes to connect with exactly what my body is feeling. The socks on my feet, the cinch of a belt, the wind blowing my hair, the cool or hot of HVAC on my palms and knuckles, the minor ache or pain, and so on.

I typically start from my feet and go to top of my head, then back down to my nose. It typically takes me about 10 minutes.

Then, I ponder what I remember of my coffee, breakfast, dinner the night before, how I felt when I woke up. Then I imagine how I want to change things. I do this 2-5 minutes.

At that point, I plan my day.

It works for me. I know there are a ton of different ways to do it, but for me it's simply a time for reconnecting to my internal and external self. Because its the same format with new content (what I feel now, what happened most recently) it feels more like a common exercise routine than a hard thing. But it took a few weeks of frustrating effort to learn to keep focus.

Re:Interruptions cost 23 minutes 15 seconds, right? by el_benhameen on Sunday August 24, 2025 @07:06PM (#45008624)
Thanks, I like this a lot
Re:Interruptions cost 23 minutes 15 seconds, right? by TomLisankie on Sunday August 24, 2025 @12:20PM (#45005448)
Do you think it's related to the level of emotion tied with the interruption? For example, finding out a friend or relative was in a bad accident is surely gonna be more distracting than someone asking if they can borrow a pen for a few minutes.