If I'm laid off I can choose to still program. If I don't my time might simply be wasted (eg on videogames, netflix, or even job applications). But I can also choose to continue to program. Maybe by helping local businesses, contributing to FOSS etc. While I understand the near impossibility of it all, but we actually could continue to have lots of good things so long as folks refuse to stop working even if told they're no longer employed.
Obviously this fails the moment some unit in the chain refuses to participate, but I think in small ways it can actually blunt the pain felt in recessions/depressions by creating small communes of collusion amongst your social circle. You collude together to ensure that eachother gets what they need, at least amongst the valuable skills in the circle.