In my day, the view was that kids should learn keypunch skills.  Set them up for life, don't you know. Because punched cards were the future of computing.  

But we all know what happened to keypunch machines.  In ten years time, coding may also be obsolete what with voice recognition and improved computer interfaces.  

Moreover, Having every kid learn coding is like having every kid learn how bake or use a lathe or speak Spanish.  Sure, those are useful skills.  But it's not for everybody.  A kid can decide at a certain age if they want to pursue them.  But they don't all need it. Better we should focus on making sure they can read, write, and have basic math and science skills.