It really depends on the kid's interest level.
If the kid is highly interested in learning how to program, most languages should be fine as long as you are there to help guide them.
If the kid doesn't really care, you might be able to spark interest with some sort of novelty, but they would probably get more out of it if you waited until they were older.
I was about 8 when I asked my dad to teach me how to program. Since I was interested and motivated, all he had to do was show me how to get started, and give me his old college textbooks. If I had lacked motivation, I imagine some more prodding on his part would have been effective, but if I had lacked interest, I don't think I would have learned much at all.
If the kid doesn't really care, you might be able to spark interest with some sort of novelty, but they would probably get more out of it if you waited until they were older.
I was about 8 when I asked my dad to teach me how to program. Since I was interested and motivated, all he had to do was show me how to get started, and give me his old college textbooks. If I had lacked motivation, I imagine some more prodding on his part would have been effective, but if I had lacked interest, I don't think I would have learned much at all.