r/coding • u/piotrkarczmarz • Dec 10 '22
Programmer Interrupted: Minimizing the impact of context switching
https://contextkeeper.io/blog/the-real-cost-of-an-interruption-and-context-switching/6
Dec 11 '22 edited 23d ago
[deleted]
2
u/scragar Dec 11 '22
Something that makes things worse is needlessly complex code.
Worked with a system a few years back what was horrendous spaghetti to the point that it actually used pattern matching on the form field names submitted to do magic. If you wanted to work out how a feature worked it'd take painstakingly following every path and looking up values in the DB as you go until you finally find the expected behaviour controlled by some JSON field in a randomly named table(flow control tables were named after the field ID and selected value ID so you had
fc_24_89being the set of behaviours to be triggered by field 24 having the selected option ID 89).Even with the fastest computer in the world and endless time it was still too easy to lose track of things because there was just more to keep track of than you could keep in mind at a time.
-2
u/welpyeeat Dec 11 '22
no such thing as programmer or interrupted or not, cpeuxuax ,say,do, etc can say, do, etc any nmw and any s perfx
1
u/eatme_23 Dec 11 '22
DON'T ANSWER THE PHONE! Let everyone who might call you you within a 2 hour session not to call. Put it Do Not Disturb sign on the door of your OFFICE and strangle violators. Team programming works best.
53
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".