For me personally, little distraction is good. And the distractions should be ones that don't suck me in - a window to look out for a minute is fine, a video game to play for a minute is disastrous. For me.
For me personally, little distraction is good. And the distractions should be ones that don't suck me in - a window to look out for a minute is fine, a video game to play for a minute is disastrous. For me.
I think it's because when I lose focus of my code, I will just end up listening to the video for like a minute, without having to even switch to my browser window. Without that, I would have the tendency to open Reddit/Twitter/this site whenever I get slightly distracted.
This of course requires picking videos that are both very long (don't want to go looking for a new one every 20min) and very casual (I don't want to have to actively listen to it).
With Discord and Streaming being a big thing maybe you could build up a certain mind set where having a background narration helps?
I'm totally speculating, as YouTube videos completely wreck my focus. Though I drive while listening to them, or with podcasts.
Try instrumental music when you have verbal/intellectual needs. A good Latin dance channel helps me get in a rhythm for physical housework and stuff. If others are bickering around me, time for earphones or some encouraging spoken-word.
ADHD includes hyperfocus, trouble transitioning, and time blindness... "a video game for a minute" is about the worst thing you could have, because by the time the "minute" feels over, it has actually been all day!
The flip side is if I'm doing something boring, I have to have some other distraction going to keep the dopamine flowing, because the regular task isn't creating it. It's usually something pretty simple, a background TV show (mythbusters/how it's made/DDD, etc), youtube build videos, or up-beat music. Something novel enough to keep me interested, but not so interesting that it takes my attention away from my target task.
And yes, meds. They let me enact such a plan, letting me manage the executive dysfunction which would otherwise throw a spanner in the works.
It's like the music keeps parts of my brain busy so they don't distract me.