As someone who has been coding and developing software for almost twenty years, started young, had an aptitude for math and reading comprehension, scored high on standardized tests, got an advanced education and all the while, basically lived in front of a computer learning the full stack from top to bottom, painstakingly solving problems as they arise, debugging server configs, hardware issues, more debugging, and on and on ... I still find software development very difficult and mentally taxing.
I am having a really really hard time buying any of this teach prisoners or coal miners to code mantra (my first word choice was 'nonsense'). And I am also having a hard time finding proof that even a single ex-coal miner is gainfully employed in a coding job today and I am seeing stories going back to 2012 about programs popping up to teach miners to code. I am sure there are a few, but it must be vanishingly few.
It just doesn't seem like a good fit at all. It's opposite ends of the spectrum. Why don't we teach out of work coders to play professional rugby too?
I guess teaching coal miners to become plumbers or electricians or heavy equipment operators (all of which they would already have many skills for if not already qualified) wouldn't grab headlines.