I still think nearly everyone should learn to code. That is not why these layoffs are happening.
I’m NOT saying that software engineers are getting replaced, but the kinds of things you learn in a boot camp, gluing APIs together and searching StackOverflow for code snippets, seems like it’s on more shaky ground than a few years ago.