The second reason to teach children coding is because it helps them to learn how to think logically and problem solve.
When coding, children have to think logically about what the code needs to do, and the order in which it does things. And these skills transfer into real life. For example, when making a sandwich there are certain steps that need to be carried out before others. You can't butter the bread after you have added the fillings, but they may not need to add the fillings in a specific order. In coding this order of instructions is known as an algorithm.
If they did make their sandwich in the wrong order they soon realize, work out the problem and make changes to their algorithm, or debugging in coding terms.
I bet you never thought you would be connecting sandwiches and computer programming!