DEV Community

Discussion on: The distraction's killer

Collapse
 
andy profile image
Andy Zhao (he/him)

I haven't done this in a while, but the Pomodoro technique works really well for me when I need to maintain focus or keep at a task.

Basically, it works like this:

  1. Decide on the task to be done.
  2. Set the pomodoro timer (traditionally to 25 minutes).
  3. Work on the task.
  4. End work when the timer rings and put a checkmark on a piece of paper.
  5. If you have fewer than four checkmarks, take a short break (3–5 minutes), then go to step 2.
  6. After four pomodoros, take a longer break (15–30 minutes), reset your checkmark count to zero, then go to step 1.

Like you said, it's important to get out of your comfort zone. If you work from home a lot, it's easy to want to stay at home where all your comforts and routines are. I've found that it's super helpful to make a specific space in your home that is meant for work. This could be an entire room turned into an office, or a table you always sit at. As a fellow gamer, I made it a point to not sit at the table where my desktop is, although if your laptop is the same one you use for gaming and coding, that'll be another challenge.

That said, I still focus a lot better when I get into the office, so I try to do that as often as I can. Also, I think finding the best working hours for yourself are important, although that's hard if you have a job that has set hours. I tend to be more focused in the mornings, but I'm struggling to wake up early enough. :( Habits are hard to break, but having a goal in mind and not wanting to feel guilty about how I spend my time gives me motivation.

Anyway, that's what I do, hopefully it's helpful for you!