I used to have 'buckets' I would stick things into, and they would stay there forever. Context switching was not a problem. Whatever I had put in that bucket was so strongly associated with the context, that when I switched, the bucket would be there waiting for me. I think I basically had built something like a memory palace before I had the concept of a memory palace.<p>Best way I think I can discribe it... it's almost like in my short term memory rather than trying to cram in every individual variable, I was just including a pointer to a struct containing the variables for those contexts. When I would call up that pointer, I'd get the entire struct and just keep going.<p>I'm not sure if it's age, alcohol use, stress, always-on internet, genetics, or what, but now I'm lucky if I can remember what task I'm in the middle of if I start thinking about something else while doing it. I find myself just as able to solve problems <i>when I can remember things</i>, but a lot less able to remember things, making me feel a lot stupider and/or slower than I used to be. Context-switching is a real challenge now. FWIW, I used to be A LOT better at tuning out the world/distractions than I am now; I feel like that changed when my kid was born.