Programmer interrupted: The cost of interruption and context switching (2022)
1–10 of 271 posts
Re: Programmer interrupted: The cost of interruption and context switching (2022)
#2Re: Programmer interrupted: The cost of interruption and context switching (2022)
#3Re: Programmer interrupted: The cost of interruption and context switching (2022)
#4When you're interrupted, you forget a bunch of the maybes and you have to rebuild them. This is because your evidence is not strong enough yet to have a small graph, it needs to be a big graph (or set).
Main advice is to take small steps. Little pieces that are easily recoverable. Things like unit tests help to establish the facts, allowing you to push some things out of your own memory. Also take some notes to jig your memory.
Sometimes you can't take small steps, because it just happens that you didn't consider something and now there's a large surface to think about. For those times, make sure you're not interrupted.
Re: Programmer interrupted: The cost of interruption and context switching (2022)
#5Re: Programmer interrupted: The cost of interruption and context switching (2022)
#6[flagged]
Re: Programmer interrupted: The cost of interruption and context switching (2022)
#7[flagged]
The trick is that you need to hire someone to come up with a description of the problem which is precise enough that a computer can handle the rest. That person is the programmer.
If you’re being sarcastic, it’s not clear, just put a /s on the end or something.
Re: Programmer interrupted: The cost of interruption and context switching (2022)
#8I am trying to explain it to my wife (using the cartoon on the article) but she says I am always busy.
Which is probably true, but somehow she manages to interrupt my thoughts right when I was holding the whole heap in one hand, reaching for the duct tape with the other and pushing the keyboard with the nose.
Never when I just started vscode :)
Re: Programmer interrupted: The cost of interruption and context switching (2022)
#9It's pretty ironic, because this is how a lot of people study in the library at college,show up and stay all night grinding in the flow state with your phone shut off. Yet when you graduate to the work place, you seldom have the opportunity to work like how you've been training to work for all your advanced schooling ever again.
With respect to the article and maintaining context while coding for different projects, I find having a tmux session for each individual project super helpful.
Re: Programmer interrupted: The cost of interruption and context switching (2022)
#10[flagged]
That’s the same misconception about programming that people had decades ago. People thought the same thing when we introduced 5GLs back in the 1980s, and there was a lot of hype, and programming became more accessible, but demand for programmers increased rather than decreasing. People thought the same thing back when Fortran was introduced in the 1950s, and programming became more accessible, but the demand for prog…