Think about the actual logistics of creating coding jobs in West Virginia. Even if you could teach these idiots to code, those would be entry level jobs for former miners, but they would need managers, project leads, senior engineers, etc to move to West Virginia to actually organize and manage the work. You know, educated, liberal, likely immigrant, very affluent people with many options, to make a decision to move themselves and their families to a Trump supporting coal miner town with crappy schools, crappy health care, nothing to do, and serious opioid problems. To work and live with people who probably hate their guts.
It's not happening. Anyone with ambition to be a programmer (or anything else aside from a drug fiend or welfare queen) needs to leave those areas to have any chance.