The model is broken. Too many people want to learn to code, not everyone can do it well.
The only way would be to filter many candidates going in, but the negative press would be huge. So you end up with huge cohorts of people who can't code, and you have to make the money back somehow. Good teachers need to know how to code well, and those are expensive too. And, let's face it, the internet is full of great material to learn to code for free. If you are not motivated enough to learn by your own, all the time, I don't see how a bootcamp will give you anything.
The only way would be to filter many candidates going in, but the negative press would be huge. So you end up with huge cohorts of people who can't code, and you have to make the money back somehow. Good teachers need to know how to code well, and those are expensive too. And, let's face it, the internet is full of great material to learn to code for free. If you are not motivated enough to learn by your own, all the time, I don't see how a bootcamp will give you anything.