DEV Community

davis davis
davis davis

Posted on

How do you stay focused at work?

I'm about a year into my first developer job (I'm a former nonprofit education program director turned JavaScript developer, which is a whole other post). My office is a big open floor plan, there's lots of chatter on Slack and in person, and of course there's a flood of articles, forums, blogs, podcasts, tweets, and online learning platforms to distract myself with - and that's just the content that's web development related! My team has relatively few meetings, and I have no desk phone.

I love my job and I love my work environment, but sometimes I feel like a kid in a candy store who can't settle down and concentrate when needed. My fancy new headphones have been a lifesaver but sometimes even they can't do the trick.

Eager to hear from other devs - how do you stay focused at work?

Top comments (22)

Collapse
 
ben profile image
Ben Halpern

Little rules like "I have to finish this one thing before I can go check Twitter" work well for me. The trick is actually determining what that one thing is and what finishing it means. It's easy to lose focus when something tedious comes up, but if you define your end goal ahead of time, you can remind yourself to not lose focus and just get to the finish line. A lot of the time, that will get me in the groove and I'll just keep going. At that point I'm playing with house money so I'm allowed to take a break at any point, and yet I plow on.

It also really helps if you genuinely really want to get the thing done out of personal care and perhaps some passion and/or obsession.

Collapse
 
blakebarnes00 profile image
Blake Barnes

I feel sometimes making those rules can be hard for a lot of people. Hard to push yourself to do it honestly. I experienced not being able to push myself hard enough to meet deadlines especially with something like school where I just wasn't interested with what I was doing. However like you said, if somebody is really interested in doing something then it is far easier to get it done. I also find it easier to do something when I am doing it with other people, collaborating is so much fun, just hard to get people to do it along with you I have found. (Not many people I know program, so not many people really want to learn it or try)

Collapse
 
ben profile image
Ben Halpern

Oh yeah. I definitely agree with your perspective on the topic too.

Collapse
 
paulaigue profile image
Paul Aigueperse

Hey !

Music is the best way for me to stay focus in a particular task, but I also filtered my notifications dealing with "Do not disturb" mod on my computer and my phone.

I disabled most of my Slack notifications for non-important channels, created a looooot of filters for most of my regular emails (and force me to practice #inbox-zero).

Then if I need to be very focus I cam earlier at the office 😄

I don't believe in "Stay-Focus-Applications" stuff... Just take care of your setup and habits :)

Good luck ! ✌️

Collapse
 
alvarocavalcanti profile image
Alvaro Cavalcanti

Even though I get what you mean by not liking the "stay-focused-apps", I enjoyed RescueTime, simply because I don't use it as a "stay-focused" app, I use it as a tool to help me understand what I'm spending my time on. I take a few minutes everyday to go through it's daily report, categorizing what needs to be categorized and comparing my performance over the past days.

Collapse
 
janvanbraeckel profile image
Jan Van Braeckel

At my previous job (which I just quit), it was basically impossible to focus when I was at the office.
We used both Slack and Skype for Business, so whenever I set do not disturb on Slack, people would start annoying me on Skype, even if I had do not disturb there too.

It was also not easy because we were a distributed team. Whenever I put my headphones on and started listening to music, my colleagues in-office would understand and (try to) leave me alone. However, even then I got a wave every 5-10 minutes to say "Hey I need you a sec".
For the remote colleagues it was even worse because they would spam me on Slack, Skype, e-mail and if that failed they would contact a colleague in the office I was at to tell me to check my DMs.

Basically the only way to focus on my work was to work from home and turn off my e-mail and chat clients.

Starting my new job soon, hopefully it's a bit more rest and quiet there :)

Collapse
 
rapidnerd profile image
George

I 100% understand you here. I currently work from home and still live with my family so the distractions in my work environment get pretty high sometimes even with a big LED sign that says WORKING DND. I commonly tend to block out all distractions with music or a TV series, I find that both of these tend to help me focus even though some how I can watch Netflix and work at the same time.

When it comes to something major in my house I wrote a program to hook up a button in my house to a raspberry pi that tells me I'm needed so my family abuses that a little bit.

If you use something on the lines of slack for communicating with the teams sometimes it can be a bit random, all my notifications are filtered through tags for when I'm needed otherwise I won't read that chat. In addition the place of work I'm at is actively using Teamspeak to communicate with each other. Although for some this may seem like a distraction I like being around my colleagues and talking with them. They sometimes even help me fix bugs.

If you tend to fidget a lot highly recommend something near by on your desk that is designed to help stop fidgeting (i use a fidget cube). Something I've commonly found is taking a little break from your work area if possible, a breathe of fresh air outside for 10 minutes has helped me improve productivity a lot as well as doing this when something annoying happens (ie maven not compiling!!).

Not really sure if this one has been scientifically proven (might of been) but having a tidy work space can help bump up productivity, its helped me before when I had about 10000 things cluttered around my office that would constantly distract me now all that's on there is my phone and keyboard, mice, mic etc.

Best of luck with your ongoing career!

Collapse
 
phpandcigars profile image
PHP and cigars

In an office with more than four persons my advise would be: quit your job.

But if you like what you do: try to find a partner to team up with. I can stay focused even in a noisy invoirement when i do pair programming.

Collapse
 
corysboredagain profile image
Cory Ann Ellerbe

I keep it simple personally. I make a Trello checklist at the start of a project that gives me a % completed as I go and I find it very motivating.

I also have an app called "Forest" that I bust out anytime things get real bad. It "grows" a tree as long as you don't look at your phone for whatever time you set. I find it is super helpful, since I don't want to "kill the tree".

Lastly, sometimes just walking around, taking a run up and down the stairs, or around the block can help me feel more focused and get out the extra energy.

Collapse
 
ben profile image
Ben Halpern

Definitely +1 to just walking around.

Collapse
 
jschleigher profile image
James Schleigher

I usually break down my to-do list and write it down in Quire to easily track my progress. To stay focused, I also schedule a short break during the day to let my mind "breathe" a little. It helps to gain my focus back.

Collapse
 
adnanrahic profile image
Adnan Rahić

Being a responsible adult helps me stay focused. :D
Nah, I'm kidding.

I guess just setting daily checkpoints for things you want to get done is the most efficient way. You are your worst slavemaster, nobody can force you to work as hard as you can force yourself. At least this is true in my case.

Collapse
 
ivanfabrynugraha profile image
Ivan Febriansyah Hadi Nugraha

earphone, coffee and ignore people lol. Put your phone in reverse and turn of any notification of chat group unless their mention your name (Skype can do this). I always win with this urgent solutions.

Collapse
 
thomaswdmelville profile image
Thomas Melville

Hi,
I think all of this has been said already but here's my two cents.

  1. Good over ear headphones
  2. Turn off notifications, take control of when you check them
  3. Try hot desking.

I second reading Deep work, I found it very useful