I believe teaching coding to kids in any form is a benefit for them regardless of their career path. It really exercises the brain and mind into solving problems in your mind and requires a lot of creativity. If they can learn coding at a young age it is likely they will continue to learn well in other areas for the rest of their life.
I don’t know if there is a magic number of when to start but if a child is able to use a computer to play games, they are probably capable of being introduced. I think it’s important to make it as a fun as possible and without too much pressure, which is obviously difficult at a younger age but part of getting them there is not just the coding, but if they start more advanced academics at a young age they are more likely to have the discipline to think things through.
A quick Google search makes it look like there is growing interest for kids and there are now platforms and services intended to help.
Another great thing about kids learning to code is that for children in impoverished areas of the world, who may have access to a computer can be on a level playing field. In IT you work from almost anywhere in the world and your talent can be recognized.