I’ve gotten laid off myself before. It was disappointing but not a major financial setback - I had been getting paid enough that I could then live comfortably on my savings until I found a new job. I think that overall, as long as tech companies keep making those even bigger profits, tech workers will be doing well.