I am on a similar path, if with a much lower opportunity cost. I am 37 years old, one failed startup as a founder, a few marketing roles on other modest startups and some years as social project manager on the resume. I decided to quit my last job and study full time to become a developer. Not through a bootcamp, but through cheap or free resources online. I chose freecodecamp.com to go for now. I did an Ask HN too a…
I think there's a reason for that, and you touched on some of them. There's undoubtedly an ageism to the tech industry, and being an older junior developer is likely to be a huge uphill climb.
There's also skepticism around the coding bootcamp industry for the same reason that there's skepticism around University of Phoenix: The certification isn't really useful or impressive, and the kind of person who benefits highly from a program like that would likely learn just as much through self-study at a severely reduced cost (or free).
Compounding that, there's a glut right now of alternative software development education. It's hard to imagine a future where being a software developer isn't significantly less prestigious in the future, except for software development in highly specialized areas (e.g. machine learning).
Not that prestige is so important, but the reasons for the loss of that prestige will likely cause salaries to plummet significantly. It's entirely possible (and some would say likely) that most web development will become analogous to traditional trade professions like plumbers in the future, with:
* Significantly less initial investment: There's no standard or certification for being a web developer)
* Significantly larger pool of competition: Your web developer doesn't need to physically be located near you, unlike your plumber.
If you're fine with all of these things, then that's great! Be a software developer. Just be aware that it's likely to experience significant changes in the coming decades, not many of which are likely to be beneficial. You might very well do better for yourself and your family to actually just become a plumber instead.