Programming is deep work and requires concentration, we all know that.
However, there are some days that I can help but interrupt myself by browsing Twitter or Hacker News when I'm stuck with a task. Which only makes things worse.
How do you deal with that? I can see that being laser-focused would make me much more productive but I have been having trouble reaching that kind of concentration.
Slack is the thing that interrupts me the most, we have messages coming through every few minutes and sometimes I'm mentioned in threads which never seem to end. The Slack calling feature is also really annoying because sometimes people just call instead of scheduling a time and when it happens while I'm trying to debug something complex it takes me at least an hour to get back to where I was and make more progress. I'm more productive on days when things are quiet.