I agree with this.
It’s kind of panacea thinking. Yes learning procedural thinking is good for a kid, probably the most important thing a kid can learn really. But there’s tons of way to learn that. Used to be math was the big place for that. Also all those, now considered evil, “gender” skill one learns in Boy Scouts and Girl Scouts, all that cooking, building, cleaning, and knotting is procedural. I suppose in a world with a computer in every house and a software professional in half of them coding seems like a good bet, but I certainly wouldn’t call it “the key”, just one of the many paths which will work for some kids and others won’t be interested. That’s really “the key” figure out what kind of procedural thing your kid is interested in and teach them that, because once they learn to think they’ve learned to think.