Oh dear, oh dear, oh dear.
There's nothing wrong with teaching a bit of coding - same as we should be teaching a bit of everything else to the young 'uns so they can get an idea of what they might like to do later. And it'd be good if the teachers knew something about it. (Although English teachers even in my day and even more so now, I'm reliably told, don't know diddly about English grammar either.)
But right now what the UK is lacking isn't the kids who can make a pretty picture appear on the display with some scripting language. Good luck to those who have the imagination to exploit that ability but they are a tiny minority and aren't going to make any significant impact on the UK economy.
What's missing is engineers - software, electronics and mechanical - who can design the bloody display in the first place, i.e. those that have enough breadth of knowledge of their own and the adjoining disciplines to be effective designers & implementers.
I despair of the candidates I have to interview who claim to be embedded software engineers but who, often with years of employment on their CVs in defence or mobile comms (adieu Ericsson UK R&D!), have no clue how basic TCP/IP protocols work, let alone transducers, SPI buses, phase locked loops, interrupt controllers. Hell, often they can't even do bitwise logical operations by hand.
I speak to senior (in both career & chronological terms!) electronic & mechanical engineering colleagues and they express the same frustration in their own fields.
Meh! I'll be retired and then dead soon enough.