Enter bootcamps.
There's a big difference between learning enough to tinker with code and enough to work professionally at it.
The vast majority of people don't have the network, self-motivation or ability to get to a level where they can work professionally as a dev.
I've interviewed candidates whose single "experience" was a code bootcamp and they were terrible. I think that propagating the myth that a couple week bootcamp can teach you how to be a professional developer is insulting to developers.
It's important to recognize bootcamp grads for what they are: people who've been coding for 3-4 months max. Many folks expect them to be seasoned devs with 5 yrs experience but they truly are entry-level.
Most people, as I said, are missing motivation, structure, connections and auto-didactic skills to even get to the point of doing Hello World.
[Oh, and if you interviewed someone who'd been to a 4-week (?) bootcamp, that explains why they couldn't do much. Nothing great in life is accomplished by working for 4-weeks.]
I'm a technical recruiter in Chicago and see a lot of Bootcamp resumes come across my desk. I placed a dev bootcamp developer once but other then that I haven't been able to get them interviews because of the stigma behind bootcamps.
My theory has been that people with a math or science degree that join a bootcamp are much more likely to get a job than those from other walks of life. Do you see this as well?
We don't really see that. The grads who can build a real portfolio of work and are likable get hired the quickest.
Boot camp is essentially equivalent to one good semester of college. The most calale first-year college students are ready for a internship, not professional programming job.
A good boot camp has the opportunity to instill good taste in a new programmer before they learn bad habits.
But you can't learn to program in 2-4 weeks. I mean, you can copy paste some stuff and make it nearly work, but not tackle real problems. CRUD is ok for a bootcamp.
Programming is so easy to learn on your own. Books, blogs, meetups, tutorials, why would someone spend thousands of dollars to attend a 4 weeks boot camp and learn essentially the same thing?