By then, the damage to concentration has already been made. Yes, you can set your status to "do not disturb". But you have to remember to do that.
Actually, I'm starting to think I lost ability to concentrate because of that.
For example:
https://psycnet.apa.org/record/2015-28923-001
"We found that cellular phone notifications alone significantly disrupted performance on an attention-demanding task, even when participants did not directly interact with a mobile device during the task."
Imagine then what damage random people's voices asking you things while working would do to your concentration.
There's a section on setting manual statuses, including one specific example of "focussing - do not disturb". The animated screengrab below suggests that if someone wants to contact you with such a status set they will get a window informing them and the option to bother you anyway. Not sure how special you would want your handling, but something is definitely there. Though it isn't really clear to me if the example in the screengrab is based on a status or on a calendar entry.
I do agree that this isn't something I would want to work with, and as I wrote elsewhere, if my company had this I would set it to perpetual DND or just not run the software at all.
Give me a choice box of now, snooze bar, or several other options culminating in “take it to email, my hair is on fire.”
I find it challenging to concentrate in an open floor plan office that is full of people. I find it absurd that it has become the status quo for software development.
The open office layout is a scam - pushed based on the build-out costs of new office space in a very rapidly expanding market in Silicon valley over the last two decades.
Companies needed lots of office space very fast. Companies also dies fast.
Building out office space is expensive and the push for open office layouts as a "culture" bit was just as much marketing as anything else...
This creates a major time management issue. If you have time blocked off for important, high value tasks, you can be easily distracted by someone else's lower level tasks.
Task switching, especially to focus on low level tasks, is highly inefficient in both the short and long term and should be avoided at most costs.
On average, I got almost half of my code for the week done on that one day.
I think it really depends on related context though. If I am working in an operational capacity then I may need to answer the phone every time it rings. If I am doing project work requiring a great degree of creative problem solving I am going to block off my calendar most of the day and prioritize a lack of distraction. My phone will be on "do not disturb" and I won't be looking at it. Impatience and interruption are the killers of creativity.