- Unless someone is coming to you with an urgent ask, either delay getting back to them or just tell them that you need heads-down time right now.
- Pause notifications in Slack. On top of this, add your phone number to your Slack profile and make it clear to everyone that they can still reach you if everything's on fire.
- Mute most of the Slack channels you feel obligated to join. Why companies and even individual employees believe that more channels is better, I have no clue. Complete waste of time.
- Invent reasons to skip your daily standup. Even a 15 minute interruption can disrupt you from being in your zone. Screw these lame ass status update meetings in disguise.
- Just say no to pair programming if you're in a flow, unless the other person needs urgent help.
- If you work in an office, find a hallway or room deep in the bowels of the office building where no one seems to go and do your work there. There was an office I worked at once where there was a concrete hallway way in the bottom corner of the building where almost nobody went but it had a treadmill desk, so I worked down there a lot in peace. Some lady eventually figured out I was doing this and started spreading rumors that I was creepy or that I had quit. Just ignore idiots like this if that happens. That office environment was loud.
- Observe what area of the office floor is the least noisy (and possibly furthest away from your interrupt-happy team members) and ask management if you can switch to a desk over there.
- Recognize when being distracted isn't a bad thing. Everyone's mileage may vary, but personally, being ultra-focused all the time made no impact on my career versus working diligently but not punishing myself if I felt like stepping away from work for a while. Time spent at the keyboard doesn't have a one-to-one relationship with productivity in tech. Above all, you're not a cog.