🔭 Three tricks to get in focus mode
Tags: productivity, motivation, procrastination
Published: 2023-02-05 16:43:56

---
title: 🔭 Three tricks to get in focus mode 
description: In modern working conditions, software engineers often struggle with focus. I discovered a few tricks that I share in this article.
published: true
tags: productivity, motivation, procrastination  
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3f0fvyx0dmc7f5l6hnw2.jpg
canonical_url: https://kalabro.tech/focus-mode-three-tricks/
---


I find myself very lucky to be a software engineer. I enjoy solving problems with code, and it usually doesn't require any effort to go into "focus mode". Quite the opposite - it's sometimes hard to stop thinking about that tricky bug and close my laptop.

Still, there are situations when distractions and multitasking prevent me from achieving what I want. I have a few tricks in my toolkit to restore focus and attack the problem, even if it's a tough one.


## What is the focus mode

Focus mode is a tool to handle certain types of work. Like a hammer or a needle, it's helpful in some situations and harmful in others. **Focus mode is never the end goal.** Before trying to focus, I need to figure out what and why I want to achieve with its help.

To focus means to keep our full attention on one thing for a long enough period of time. I haven't met any person who doesn't know how to do it. We all constantly go in and out of focus, naturally guided by our interests and curiosity.

Beyond focus, we can sometimes fall into the flow state, a highly intense and rewarding experience of full immersion in a particular activity. Mihaly Csikszentmihalyi studied the flow state his whole life and wrote [a comprehensive book](https://www.goodreads.com/book/show/66354.Flow) on the subject. What's crucial for this article is that **the flow state usually requires focus as a prerequisite**.

![Mental state in terms of challenge level and skill level, according to Csikszentmihalyi's flow model, Wikipedia](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Challenge_vs_skill.svg/480px-Challenge_vs_skill.svg.png)

*Mental state in terms of challenge level and skill level, according to Csikszentmihalyi's flow model, [Wikipedia](https://en.wikipedia.org/wiki/Flow_(psychology))*

Below I share three tricks that help me get into focus mode, but it's important to remember that they are merely techniques for occasional use. If I regularly experience difficulties with focus, I know it's time to revisit my plans. Are they aligned with my north star? Are they achievable?

*This post was inspired by a question from one of my mentorship sessions at [ADPList](https://adplist.org/mentors/kate-marshalkina). Mentorship is a great way to explore deeper reasons behind the lack of focus. Read ["Where to find a mentor"](https://kalabro.tech/where-to-find-mentor-2023/) if you are interested in this route.*

## Trick 1: "Is it technically possible?"

6 am. My alarm throws me into a dark and cold Monday morning. Even my cat, who is supposed to be a nocturnal animal, is against this idea. Before I even notice it, I start looking for reasons to stay in bed. 

In such moments I ask myself: is it technically possible?
Can someone like me get up at&nbsp;6&nbsp;am? Is it doable for a woman who went to bed at 10 pm and has scheduled some writing work before her regular working hours?

In 99% of situations, the answer is yes. It's not that cold in the kitchen for me to freeze. And if it's dark, I can turn on the lights 💡

## Trick 2: Microtask

It's common practice to break work into small achievable chunks of work. Yet, even a well-scoped task can be hard to start. In this situation, I create **a microtask - the first ridiculously small step**.

For example, if I need to build a new project, a microtask can be "initialise git repository" or "print hello world on the screen". It helps to write the microtask down even if typing it will take longer than actually doing it!

If it's impossible to extract a meaningful microtask, I use the **"Do X for 30 min"** template.
Let's say I want to get better at solving algorithms problems, but I don't know where to start. I put the microtask "Work on leetcode for 30 min" in the Centered app and stare at the screen for 30 min. Half an hour later, I will understand my current level much better and can create more meaningful microtasks.

Microtask is similar to micromanagement. Only apply it to your own tasks when you are stuck.

## Trick 3: Add flavour

If I don't have control over what I do, I can at least control how I do it. I call it flavour. Example:

**What:** review and update legacy documentation
**How (adds interest flavour):** generate images from your documentation using AI tool
**How (adds challenge flavour):** make resulting documentation shorter, not longer
**How (adds value flavour):** pair on it with a more junior developer
**How (adds fun flavour):** work on it from your favourite café  

Deciding how I will do my work sparks motivation and increases self-accountability even when I don't feel deeply connected to the end goal of the task.

## And many more

While writing this post, I discovered a good list of things that help me focus. Most of them are common sense rather than tricks:

🌅 Early mornings
🕰️ Sticking to schedule
🔏 Working in solitude
🧘‍♀️ Keeping mind clear (journaling, meditation, exercises)
🤝 External deadline / commitment
👯‍♀️ Involving other people
🎧 Music for concentration
🧗‍♂️ Embracing a healthy dose of discomfort

## To summarise

We often find ourselves fully focused and dedicated when we work on interesting and challenging problems. It feels great, and we want more of that flow state.

Over the years, I learned a few tricks to restore my focus. I'm sure you have your own tricks, too. Please share in comments. I'd love to learn from you!