Both of these jobs - particularly the latter but where I live also the former - rely on a heavy surplus of disposable income sloshing around the economy. Once the money stops flowing the home stills start and the ski trips stop.
> My friend whose ten year old stayed indoors for a few years to play around on REPL, less surely.
The broad point you're conveying is reasonably clear, but I'm not even sure whether you're implying your friend is a SWE by virtue of their child tinkering with a REPL, or if you're referring to the future job prospects of said 10 year old.