en.wikipedia.org/wiki/Flow_(psychology)
Depends on my mood, but it usually takes a few minutes.
Whenever someone "tries" to distract me, I usually don't get distracted; if I do, I wasn't flowing. I keep my mind focused on my current work, and jot down a note about their problem. Then I tell them to come back in a few minutes/hours to discuss. Well, unless the problem is really small, in which case I can easily solve it without loosing focus.
There are, however, times when the problem people come to me with is more interesting than what I'm working on. In that cases I don't mind getting out of the flow at all.
5 minutes ! :) not kidding :)
It'as all about training i guess, i used to work in really quiet places at first, so i got into flow zone real fast, and then i discovered big openspaces so i found a good way to enter it: Music. I just put tha headset on my ears, and in 5 minutes it feels like i'm in another room. As for what distracts me the most : Coworkers ;)
I work in an open plan office, and find other’s constant conversations incredibly distracting. I find it much easier to get things done if i put headphones in and listen to music- I don’t usually find this distracting when I’m developing, but I do if I’m trying to absorb information -say, reading a book or article.
If it’s pretty clear how to attack a problem, I don’t usually find it takes too long to get in the zone, but it only lasts about 90 minutes to 2 hours before I need a short break.
If the barrier to entry is higher- say, I’m writing a new module where I have to think a bit a about the design - it probably takes me a bit longer to really find flow, as there’s a certain frustration in exploring unsatisfactory ideas as you’re playing around with a problem.
If I have had my morning coffee, and enough rest the day before. It takes me about an hour. I am NOT a morning person, so it takes me a while to wake up and get going. My work environment is my main distraction, I work in a call center, and the building is poorly designed, and I am right next to an open break room. Conversations get really loud, and I can smell the food. Also, my work is really unorganized, so my "role" isn't really established, I get asked to do things no one else wants to do. So people are constantly stopping me in the middle of coding. I usually find a good playlist of classical music, or something without lyrics to zone out, and zone in, if you will.
10-15 minutes for me.
What distracts me most often? Hashnode. 😜(just kidding)
Emails distract me the most. Because I work remote, I have to have emails on during working hours, lest people think I'm not working. I typically reply within a few minutes, at least to acknowledge the email. Most of the time, the email is about something that requires my immediate attention, so it's the biggest distraction for me. It's also my biggest stressor, especially when I get several emails within just a few minutes from different people about completely different and unrelated things.
Artur Maslov
Work hard. Dream big.
Found good article about getting into flow: zapier.com/blog/how-to-find-flow