If a kid is really interested in learning about computers and programming they will do it. One thing that can end badly is if you try to force the subject on them. It will become like a class at school then.
I would leave them alone, let them see what you do maybe, show them minecraft. But don't expect them to magically take to it.
When I was a kid I gained my interest in computers from seeing my Grandfather building a computer, my sister was there when he was building it. Yet I kept to it and she pursued other endeavors.