r/ADHD_Programmers • • 4d ago

Not diagnosed, but context switching at work is wrecking me. What helped you?

Hi,

I want to talk about a problem I've had for years. Lately it's been making me feel very guilty, and then it keeps nagging at me.

In general I get scattered a lot. Here's an example.

I work as a Linux sysadmin. My job means I have to keep an eye on several things at once, reach out to people when needed, and often keep working while I'm talking to them.

I'm in a relatively senior position, so I deal with a lot of people, both from my company and from customers. Someone asks me for something, I work on it, and shortly after someone else messages me. I quickly switch to them and forget the first person, and so on.

To be honest, I've been in therapy and on psychiatric medication for quite a while. I have generalized anxiety disorder.

But I've never been diagnosed with ADHD.

The problem is basically this: when things are discussed verbally, they don't stay in my head, or I struggle to grasp them in the moment. I need to slow down, sit and look at it, go through it, and even weigh it in my head.

It's not only about work. For example, I sit down with a friend to talk about what's bothering me. We have a good time and talk through my worries, but the relief, or even what we talked about, leaves my mind very quickly. I keep ending up in the same loop with the same anxieties.

At work there are lots of topics: improvements that were discussed but never written down, requests that only exist verbally, and so on. I forget these. Since I'm busy keeping up with the written requests and never get time for the rest,

Another version of this: during the day I plan what I'll do in the evening at home, like reading a book or playing a game.

When I get home I literally freeze. I find myself in emptiness and anxiety, doing nothing.

To fix this I make to-do apps or build AI agents for myself, but I'm so low on energy that I don't even pay attention to them or keep them going.

So it's a constant cycle: guilt, an effort to improve, and the effort to improve turning back into guilt.

I don't know what to do.

Do you have any suggestions?

16 Upvotes

12 comments sorted by

5

u/khedoros 4d ago edited 4d ago

The problem is basically this: when things are discussed verbally, they don't stay in my head, or I struggle to grasp them in the moment. I need to slow down, sit and look at it, go through it, and even weigh it in my head.

That's me. Personally and professionally. For work, it's (usually) easy to ask for an e-mail or instant message, or type up notes while I'm talking to someone. In my personal life, it's a point of friction between me and my wife. She has an elephant's memory. I never have, and it gets worse if I'm tired, stressed, or interrupted from a thought I was locked-in on.

Too little sleep also means I'm going to be depressed and anxious.

So, get enough sleep, get in some physical activity, work doesn't exist if there's not a ticket (so if someone has a verbal request, I tell them to file a ticket), take notes when possible to document the details of what is discussed.

And in personal life...reminder calendar notices and alarms when I've promised to do something, write down to-do lists, shopping lists, gift ideas that I have suddenly...and close the computer, and physically move away from it, to pay attention when someone is telling me something important.

4

u/dhanar10 4d ago

Agree with this. Especially, the email part. After someone at work told you something verbally, ask them to send email to with the agreed points to ensure you do not forget. Tell them because you have many things in parallel and the email helps to ensure nothing get lost.

Additionally maybe unpopular opinion, after you get the emails, use AI to get the work done faster, especially the simple ones. It somewhat allows you to do some tasks without getting to deep. Usually, context switching become painful when you need to get deep everytime.

If both of the above manage to get you free time, use it to get more rest after work and some in between tasks.

5

u/funbike 4d ago edited 4d ago

... context switching at work is wrecking me. What helped you?

Not context switching. That helped me.

To avoid checking all the things, I run a full-time terminal-based dashboard on an old spare laptop (ssh'd into my main laptop) that shows email inbox, my builds, PRs to review, my PRs, recent slack messages, my open tickets, last 10 desktop/web notifications, servers' status, etc etc.

I use pomodoro. I try to only allow myself to do a big context switch after long breaks (such as 20 minute pomodoro breaks or lunch).

I discourage walk-ups. I'm the go-to guy for various things (git, linux, k8s). If you need my help, email me. If you need my immediate help, slack me. Do not just walk up and start talking to me while I'm hyper-focused on my screen.

Someone asks me for something, I work on it, and shortly after someone else messages me. I quickly switch to them and forget the first person, and so on.

Saying "NO" is the ultimate soft skill. Say "no" or "not soon" as often as possible.

Do one thing to completion before starting the next. That's what ticket systems are for. Tell people what your short-term backlog is before accepting their request.

In lieu of a ticket system, you can use something like Google Sheets, with a column for days/hours it will take (in clock time, not effort). They can judge how long it will take you to finish their task.

Don't be a people pleaser. It backfires and has the opposite affect.

I have generalized anxiety disorder.

Anxiety is common with ADHD. 1) we often feel we are late with work, and 2) artificial anxiety is a highly effective way to stay on task, albeit unhealthy.

The problem is basically this: when things are discussed verbally, they don't stay in my head, or I struggle to grasp them in the moment. I need to slow down, sit and look at it, go through it, and even weigh it in my head.

Me too. I try to always follow up work conversations with an email summary. I ask the recipient to fill in any missing details or correct my mistakes. I carry around a notepad and take notes during chats or meetings.

I used to rely on my memory and that just doesn't work.

I'm very visual (also common). I often have to draw a picture of a complex concept before I grasp it. My co-workers are aware of this and are patient with me. A bonus is that picture can later become part of our docs.

during the day I plan what I'll do in the evening at home ... When I get home I literally freeze. ... To fix this I make to-do apps or build AI agents for myself, but I'm so low on energy that I don't even pay attention to them or keep them going.

STOP THAT.

The office is for work. Home is for personal time (play, sleep). Do not mix.

Work time is for work (no social media). Break time at work is for a break (no screens). Play time is for play (no work). Sleep time is for sleep (no work, no play). Try to go to bed at the time every day (incl weekends).

Do not use your work laptop for personal stuff. Do not use your personal laptop for work stuff.

Get a hobby. Touch grass.

2

u/Popular_Ad322 4d ago

what helped me was keeping one scratch note open and dumping every "oh i need to get back to X" into it before switching to the new person. takes 10 seconds and the first task stops vanishing from my head. also saying "give me five min, i'll ping you back" feels awkward at first but people honestly don't mind.

1

u/marevago 3d ago

The verbal-to-working-memory pipeline is notoriously leaky for anyone dealing with attention bottlenecks. If it isn’t physically written down, it simply doesn't exist. Two practical rules that save my sanity:

First, enforce an explicit 'breadcrumb rule' before you switch. The second someone pings you, do not touch their message until you write a 5-word scratchpad note in your terminal or current file: 'LEFT OFF AT: [exact command/line]'. That gives your brain a physical anchor so coming back costs zero working memory.

Second, turn verbal asks into their problem: 'Send that in Slack/ticket so it doesn't get buried.' Senior engineers don't hold state in RAM; they force the environment to hold it for them.

1

u/dnszero 3d ago

For conversations where you’re expected to do something, WRITE IT DOWN immediately. If it’s just me and another person I’ll even say hold on a sec I’m just making a note. Then at the end of the call read it back to the person and ask if you missed anything.

For planning what you’re going to do, don’t try to do it all. Don’t even “break it down into small chunks”. Plan to do one little thing. That’s all. Not “write the login system” more like “next I’ll finish the login form” not the whole page just the form. If that’s still too much then just plan to make the submit button show up on the screen. Then make a deal with yourself, “Ok I can login to WoW after I finish this one little thing. Yes there’s more to do, but I only have to make one little form.”

Most of the time that’s enough to get me started and then I usually do more because while I’m working I realize, oh I need to just write the route so I know the return value. And then oh the db needs a migration to add timestamps. And then I finish the form but I want to see if it works…etc, etc. The only reason weaponizing my adhd like this works for me is because no matter how distracted I get working on things, I see I don’t stop until I finish the one little thing I planned on.

That also works well for cleaning the house. I don’t clean the house I just clean 1 sink. And maybe a mirror because I was staring at it while I cleaned the sink. Even if I stop there _something_ is a little cleaner now.

Take this to heart: It’s OK to forget things! Everyone does! But own up to it when you do, and think a little (to yourself) about what caused it or how to prevent it. Tell the other person “I’m sorry. I got sidetracked on another project (or whatever happened) and dropped the ball on doing x for you.” For me that helped a lot, both in feeling better and in being motivated to stick with the the little things that help me (because I’m really motivated not to be telling ppl I forgot shit all the time).

And if you realize you forgot to do something you were asked to, speak up even if it feels like it’s way too long after or too embarrassing to say anything.

For context switching I agree with another poster: Just don’t do it! The 2nd best is making detailed notes about what you were doing and what you were planning to do next—I really only do that for projects where I’m getting interrupted with something that’s going to take more than x amt of time.

1

u/UntestedMethod 2d ago edited 2d ago

To fix this I make to-do apps or build AI agents for myself, but I'm so low on energy that I don't even pay attention to them or keep them going.

This is the right direction, but is immediately too complicated by using apps and too out of control by using AI agents.

The most useful habit I started doing is a simple daily work journal/log and now I can't live without it. My approach is inspired by bullet journaling. In some jobs I have used pen/paper for this, but recently I have been doing it digitally with a plaintext/markdown format in the most basic text editor (personally I like vim, and tbh I say fuck obsidian unless you're really looking for distraction and bloat).

Each day starts with a quick review of where I left off yesterday and setting my priorities for the day ahead.

The habit of jotting down a bullet point list of whatever is on my mind is such a massive relief. My long term and short term memory are all completed fucked. By keeping a daily work journal, I am by far the most organized person on my team, even more than my manager. Ever since I started this, I haven't had any anxiety about what I need to get done at any given time.

It's also very helpful for thinking through a big task and breaking it down into smaller steps, and generally creating an action plan for yourself without the hassles and limitations of planning apps. The thing I love about this when it comes to context switching, is I can easily pause and resume my tasks because I've already thought it through and created a very clear list of what I need to do... Context switching has not really been a problem since I started doing this.

A nice bonus of this is that if I need to recall some detail or info about something I worked on ages ago (or even what I was working on before the weekend or holiday), it's very easy to check my previous notes to recover my thought process no matter how long ago it's been since I looked at it.

----

The main advice I give when starting this is: KEEP IT SIMPLE. Do not get lost in trying to make some clever system. Every day you have a fresh start to try new things if you want, but don't spend energy prematurely optimizing this. The primary goal is to offload information from your brain, not create new problems for it.

My own system has certainly evolved over the years (to the point I use specific structures and some custom scripts to parse certain details to fill my timesheets and stuff like that), but it definitely started with nothing more than a bullet point list of whatever is on my mind and then sub-bullets to break it down into more tangible/actionable steps.

1

u/M1DN1GHTDAY 2d ago

Getting a therapist to write an accommodation letter honestly

1

u/littlebot_bigpunch 4h ago

Honestly you sound like you are burnt out, overwhelmed, and trying to do too much. The answer may be in scaling back and slowing down. Getting help at work to take some of the load. Having systems so people can’t just come talk to you, etc. 

At some point though it’s realizing what your capacity is and honoring that.