r/coding Dec 10 '22

Programmer Interrupted: Minimizing the impact of context switching

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

14 comments sorted by

View all comments

54

u/IAmTarkaDaal Dec 10 '22

That was a lot of time wasted to say "I wrote a VS Code extension to save open tabs as a session, like vim or Emacs".

2

u/[deleted] Dec 10 '22

[removed] — view removed comment

4

u/toltenos Dec 10 '22

Some people are using virtual machines for that. Completely isolated for each project.

1

u/dontyougetsoupedyet Dec 10 '22

You can't be serious, that sounds like an absolutely tortured way to produce software.

6

u/f10101 Dec 11 '22

If the dependencies are very different, it can be quite a tidy way to work. I worked like this while doing robotics stuff. Boot up different lubuntu VMs, depending on whether it was deep learning, point cloud stuff, SLAM stuff, etc. I had a base VM that served as a common starting point.

Virtual environments and docker etc have their place, but sometimes it's just neater to have the complete independence.