Sub topic 1
Why switching between tasks is expensive
Prerequisites
This chapter assumes you keep a basic to-do list or calendar. It also assumes you know your own recurring tasks, such as email, meetings, admin and focused work. No programming knowledge is needed to follow the ideas. The two short Python examples only add up minutes and are optional.
What a context switch is
A context is everything your mind holds while you work on one kind of task. It includes the goal, the details you have loaded, the tool you are using and the mood you work in. A context switch happens when you drop one context and pick up another. Examples are leaving a report to answer a chat message, or going from a spreadsheet to a phone call.
Each switch has a cost, and the cost appears in three places:
- Reload time. After a switch you must recall where you stopped and what comes next. Research on interrupted work often reports that people need many minutes to get back into a demanding task. The exact figure varies a lot by task, so treat any single number with caution.
- Attention residue. Part of your attention stays on the task you left, especially if it was unfinished. The new task then gets less than your full focus.
- More errors. A half-loaded context makes mistakes more likely, such as sending a reply to the wrong person or skipping a step in a form.
The switch itself takes seconds. The cost is the slow return to full focus, and you pay it every time.
Why it is easy to miss
Switching feels productive. You answer a message in 30 seconds and tick it off. The cost is hidden because it shows up later, as a slower start on the next task, and no single switch looks expensive.
The cost also grows with how unlike the two tasks are. Moving from one email to another email is cheap. Moving from email to writing a report outline is expensive, because the tool, the mindset and the people involved all change.
A picture of one scattered hour
The diagram shows a hour in which short tasks are interleaved with focused work. Each arrow back into the focused task includes a reload period.
Estimating the cost with numbers
You can make the cost visible with a rough model. Suppose each switch between unlike tasks costs about 10 minutes of reduced focus. This number is an assumption for the sake of the example. Replace it with your own estimate after you observe yourself for a few days.
The first example from this chapter's plan groups tasks by a shared context label and totals the minutes for each group. That total tells you how long a single batch session needs to be.
from collections import defaultdict
tasks = [
{"name": "Reply to vendor", "context": "email", "minutes": 5},
{"name": "Write report outline", "context": "deep_work", "minutes": 60},
{"name": "Answer team question", "context": "email", "minutes": 10},
{"name": "Submit expense form", "context": "admin", "minutes": 15},
{"name": "Book travel", "context": "admin", "minutes": 20},
]
batches = defaultdict(list)
for task in tasks:
batches[task["context"]].append(task)
for context, items in batches.items():
total = sum(t["minutes"] for t in items)
print(f"{context}: {len(items)} tasks, {total} min")The output is:
email: 2 tasks, 15 min
deep_work: 1 tasks, 60 min
admin: 2 tasks, 35 minNow compare two ways to do the same five tasks, which take 110 minutes of work in total. In the order listed, the tasks cross contexts four times: email, deep work, email, admin, and admin again, where the last pair shares a context. That is four switches, since email to deep work, deep work to email, and email to admin each change context. Counting those three changes at 10 minutes each gives 30 minutes of extra cost. Grouped by context, the order is email, email, deep work, admin, admin. That has only two switches, so the extra cost is about 20 minutes. The saving is about 10 minutes here, and it grows as the list gets longer and more tasks share a context.
Common mistakes when you reason about switching
- Counting only the switch, not the return. The 30 seconds spent on a message is not the cost. The minutes spent regaining focus are.
- Treating all switches as equal. A switch between related tasks is cheap, and a switch between unlike tasks is not.
- Assuming you can multitask. For demanding tasks, what feels like multitasking is rapid switching, with the costs above.
- Removing every switch. Some switches are necessary. The goal is to reduce avoidable ones, and a later chapter covers when batching is the wrong tool.
Where this leads
Once you accept that unlike tasks are expensive to alternate between, the next step is to group tasks that share a context. The following chapters define batching, show how to spot tasks that belong together, and explain how to schedule them.
Exercise
You have six tasks: two emails (5 minutes each), one report section (45 minutes), and three admin forms (10 minutes each). Assume each switch between unlike contexts costs 10 minutes of reduced focus. Order A is email, report, email, admin, admin, admin. Order B is email, email, report, admin, admin, admin. How many context switches does each order have, and what is the extra cost of each?
Show answer
Order A has 3 switches (email to report, report to email, email to admin), so the extra cost is 30 minutes. Order B has 2 switches (email to report, report to admin), so the extra cost is 20 minutes. Grouping saves 10 minutes without changing the amount of actual work.
Exercise
A coworker says that answering a quick message takes only 30 seconds, so it cannot hurt your focus. What part of the cost is this argument missing?
Show answer
It counts only the time spent on the message. It ignores the reload time needed to return to the original task, the attention residue left from the interruption, and the higher chance of errors afterward. These costs appear after the message is done.