# Saving and restoring mental contexts
[[30 Areas/33 Permanent notes/33.02 Content/Context switching]] is very costly and needs to be avoided. But it can't always be avoided.
As knowledge workers, we all share a common “issue”: we’ve *always* got a lot on our minds. It’s a key part of our line of work, and it can be taxing. Mental work can be as exhausting as a day of physical work.
While we work on our projects, we create **mental contexts** that are specific to what we’re busy with. A mental context is a graph of information, data, facts, and relationships that we store in our short-term memory while solving problems or exploring ideas. The more we focus on something, the more information we accumulate, progressively enriching the mental context.
![[Saving and Restoring Mental Contexts to Improve Mental Health and Productivity (Article) - cover image.png]]
Caption: Mental contexts are fragile. They rely on our short-term memory. Any distraction can take parts of it away
For instance, as a software developer, I constantly create mental contexts while troubleshooting issues. These include information such as:
- what the problem is
- what are the symptoms
- when did it start occurring
- systems, sub-systems, components, modules, and functions that interact together to achieve some goals
- what calls what in which order
- how data flows within the system
- which files, classes, database tables, variables, and functions are relevant to the problem at hand
- …
Mental contexts take time, effort, and focus to be created and kept around in our memory. That’s why interruptions are so taxing at work. Whenever we are interrupted, we lose a part of the information we accumulated, and it takes a lot of time/energy to get back to the same point.
> [[Fear is not the mind-killer, context switching is the mind-killer]]
Most of the information in our mental contexts is only useful/relevant to retain while we are busy working on specific tasks and can be “forgotten” once we are done. That being said, at least a part of the information needs to be kept in some way from one work day to the next. For example, if we’re not done with a certain task at the end of the workday, then we do save the relevant information we’ve acquired, somehow.
In addition, we also need to retain meta-information about work: what we’re trying to achieve, when we should be done, what we should do next, etc.
## Approaches to save our mental contexts
There are various ways to save our mental contexts. Let’s explore a few.
The default one is to rely on our brain’s memory. Unfortunately, it’s pretty unreliable. If a weekend passes between two workdays, then chances are that most of the information will be lost by the time we come back to work, forcing us to spend time reconstructing it. This approach thus hurts our productivity.
A significant drawback of that approach is also the fact that all this information clutters our minds needlessly. We leave work and keep thinking about the problems we were trying to solve, even if unconsciously. That’s far from ideal for mental health.
![[Saving and Restoring Mental Contexts to Improve Mental Health and Productivity (Article) - image 3.png]]
Caption: Mental contexts can be noisy if kept around when it's not necessary. Image generated using Stable Diffusion
Another approach is to use analog solutions like post-its, pen & paper, etc. This works perfectly and allows to quickly create visualizations. A drawback is that it requires us to keep the paper around. Without it, we’re also in trouble. This can be an issue when we work from various locations over time.
Finally, we can also rely on digital solutions such as e-mails (e.g., I still send myself tons of reminders using emails), calendars, task managers, or note-taking applications, such as [Obsidian](https://obsidian.md/). Using a digital solution is ideal because it means you can easily access your mental context(s) from anywhere. Email is a good candidate, but it’s actually not ideal for that purpose. Calendars can be useful to save specific information and remind us about it on specific occasions. But to me, saving my mental context as part of my note-taking solution feels perfect. It enables me to create links to other notes (e.g., the draft of the article I’m busy writing, some idea I want to dive into, or the person I meant to call back).
These strategies ensure that when returning to an [[Open loops]], the "mental setup" required to re-engage with the task is readily accessible, reducing the time and effort needed to get back into the flow.
This saves [[Mental energy]], and avoids certain pitfalls, such as the fact that [[Context switching is not an idempotent operation]].
## Benefits
Saving our mental contexts is a very effective method to be more productive. Context switching kills productivity. Getting off of work and back to it is one of the “worst” forms of context switch. By saving our mental contexts, we can more quickly get back to where we were, and keep moving towards our goals, instead of having to spend time reconstructing mental contexts from scratch.
Dumping our mental contexts is also a great way to *really* disconnect from work. Once the important information is safe and sound, we can more easily let go of work, and fill our minds with other ideas. This is really important for better mental health and life/work balance.
> [[Words vanish, writing remains]]
Finally, saving our mental contexts helps us to become more reliable. Once we write ideas down, those don't get forgotten all that easily.
## Related
- [[Context switching]]
- [[Open loops]]
- [[Mental energy]]
- [[Context switching is not an idempotent operation]]
- [[Saving and Restoring Mental Contexts to Improve Mental Health and Productivity (Article)]]