I went through both but they were both at weird transition times of my life that they basically didn't have a real effect (or at least, it all seemed normal enough for me)
dot bomb: I was 22, had worked for Red Hat since their IPO in 1999. I hadn't gone to college, and was working in developer support, then QA, when I got laid off, it was kind of like, eh, oh well, gonna move back in with my parents. We get along so it was kind of not a big deal. I had saved a ton of money from working and having no social life.
Ended up moving to California, playing a ton of EverQuest, learned to surf, learned Kung Fu, and started to take classes at a community college.
My best advice for anyone early in their career/life with a lot of flexibility and privilege is to spend that time acquiring a new skill that is unrelated to the field that you are already in. It's a great time to develop an alternative/fall back.
I decided after the dot bomb that I was going to be a luddite and not focus on computer related work, so I started studying physics.
I got my degree and ended up building and maintaining a cluster for processing satellite image data, so basically got right back into tech.
That brings me from 2003 to 2008!
I was going to get a PhD, then my advisor died, and the satellite I worked on got shut down (government defunds science in recessions!) so I got bitten by my own advice! I don't regret it, though.
At that time, I had just finished my undergrad, and had started working full time in the research group I had worked in as an undergrad. When things finally sunk in economically, I had to go back to part time temporarily, but again, and this might be a theme, I had enough saved up and enough of a personal cushion to ride it out for the six months it lasted until we got a fresh grant.
I ended up leaving academia to get back into tech, and here I am again, and I'm feeling pretty comfortable with the coming chaos, which is weird to say, and I know it's going to be a lot harder for others.
My sisters both have work that puts them at a huge risk, and are struggling with that, but tldr;
- save money
- don't panic sell if you have investments
- if you can, buy now :)
- seriously and intentionally develop a new skill, hobby, or interest
- make new friends, reach out to folks, build a more robust social network
What you can't control, and what usually is behind "how I survived X" is privilege though.
I have a colleague who is kind of a "prepper" but in the last downturn, he used that as a way to feed himself and his wife for six months (boat rations, rice & beans, etc...!) and volunteered at a mechanic shop so he could learn to fix/build cars (he offered them SEO in trade). Now as a hobby he sometimes buys cars, soups them up, and sells them.