I took 5 years off of programming, to go with my family to China, where my wife could pursue her ESL career. I taught high school part-time and was a house-husband. We came back this summer, about 3 months ago. I'm 45 and managed to find decent employment.<p>I was pretty nervous about coming back to software development, but it turned out fine. I'm not very ambitious career-wise, but I can support my family. I'm doing web development (there was some catching up to do!) and servers & ops on AWS, which I was able to jump right back into. Linux hasn't changed much!<p>I tried to find work in the US from China, but nobody took me very seriously, so I came back in late April, interviewed in a few places, partly while on a road trip, got 3 offers in 3 different cities, on a spectrum of interesting to well-paid, and all ethical, and accepted one in June (the middle one -- reasonably well-paid, reasonably interesting, in a low-cost-of-living location).<p>It helped having support of people in the US (my parents, who gave me a home base, and friends in various cities who I could stay with) and being not-very-ambitious -- I'm happy to just be a software engineer / ops guy. I don't need to be very high up the food chain. Companies seem hungry for people who are professional and skilled and get along with people.<p>I definitely sacrificed something professionally by spending those 5 years in China. It was an expensive sojourn. But I am happy we did it. We were very lucky to (1) all be healthy, (2) have enough money saved to make the leap, even though we knew it would be temporary, and (3) have at least one of us employable in the US (me, the programmer) and abroad (my wife, the ESL teacher). It was a monetary loss for sure! But I learned a lot about life and not worrying about every little detail, and it was an experience that strongly shaped our three children, both for better and for worse. And I think it helped bring the US and China together a little, on a personal level, in the friends that we made and the things we learned.