It is very insulting to expect that the experience of working in a factory or mining environment will translate at all as skills necessary for programming.
Indeed. Not to mention that no one has been doing that for a very long time. That's not what coal miners, nor has it ever been what coal miners do.
A guy who shovels coal into a furnace was called a "stoker", and that unskilled labor job was automated out of existence about a hundred years ago.
A coal miner is a skilled laborer who (nowadays) uses advanced machinery and technology. Look into how "longwall mining" works. It's pretty cool.