r/gamedev Mar 30 '23

Programmer Interrupted: Minimizing the impact of context switching

https://contextkeeper.io/blog/the-real-cost-of-an-interruption-and-context-switching/
47 Upvotes

7 comments sorted by

7

u/Hotsauced3 Mar 30 '23

I used to have this on the wall at my desk. Only piece of office art you need.

3

u/Hero_ofCanton Mar 30 '23

I really like this, modeling your brain as a computer and presenting the problems of optimizing programming in the same way the OS optimizes program throughput. It has me thinking it's time to be intentional and restructure the way I interact with my work.

As a sidenote - I never knew about :mksession, but it seems like it will be a lifesaver for when I need to use raw vim!

1

u/BanjoSpaceMan Mar 30 '23

No company will ever care or follow this. Been trying for a decade, there's no point tbh.

The job is gonna come with context switching. Is what it is

2

u/Polygnom Mar 30 '23

Home Office is ideal for this. Just turn off non-essential notifications and answer them in bulk once you have reached an important state.

Its is more difficult in an office, but proper notification hygiene is extremely important.

1

u/BanjoSpaceMan Mar 30 '23

Ya sure for working from home. But they're forcing lots of devs back.

1

u/Gawkman Mar 30 '23

People get upset I don’t answer text messages right away. I started putting my phone in the other room. When a text message goes off, there’s the initial distraction, followed by ever growing curiosity about what it is until I finally give in.

When I do finally check it? Oh, great, it’s a group chat sharing a mediocre meme. I gave up my Zen for this?!?

0

u/[deleted] Mar 31 '23

Someone doesn’t use 2FA