Coding/Programming involves giving a computer a set of instruction on how to solve a particular, or a set of problems. It involves activities such as analysis, understanding, and generically solving problems. The platform you are currently reading this article on is built with code.
When kids are exposed to this knowledge, it sharpens their analytical skills very early, and their ability to grasp complex concepts heightens, they tend to think in code, a skill that pivots them as problem solvers instead of problem creators. This skill will come in handy irrespective of whatever discipline the child ends up in, be it a doctor, a lawyer, a businessman or a programmer.
Because one thing certain irrespective of discipline is the abundance of problems that needs to be solved. Newer technologies and ideas keep coming up daily.