Coding is just a means to an end. I think the question shouldn't be whether to teach kids to code or not - but how to integrate this skill of basically "talking to a computer" with the much more important skill of "being aware of what I actually want the computer to do".
Back in the day, I was so happy when I was first allowed to choose a "computer sciences" course in school, because I already had dabbled with BASIC on my Amiga 500, trying to do things like 3D vector animations without really knowing what I was doing. The course turned out to be pretty boring, not because CS is boring, but because we were just taught a programming language but not the actual science of creating algorithms, discussing their performance, and trying to find a data structure that does what it needs to do without too much overhead.
Our teacher was a maths teacher who got the job of CS teacher because someone had to do it, not because he was especially skilled. He often tasked us with mundane stuff like prompting the user and writing their answers to disk for later use, or sorting an array of a dozen elements - basically just repetitive stuff to use the latest language feature we learned about - but we never ever discussed a bunch of different sorting algorithms to find out why one is better than the other, or anything along those lines.
Only much later I learned about stuff like Big O notation:
or random examples of "creative" data structures like a ring buffer:
Even spending some time researching and trying to build a Pseudo-random number generator:
to learn about its pitfalls and the creativity that goes into creating a deterministic algorithm that has an output looking as non-deterministic as it gets, would have been a real eye-opener to me at the time.
So, just telling someone which keywords to type into a word processor to make the computer light some or another pixel is not helpful on its own - in the proper context, though, it can be the best thing in the world, and just not telling kids about coding at all is not a solution. :)