Not this old chestnut again. Like there are going to be any coding shops onshore in the next decade, except for maybe games developers, and the few businesses creating software (niche products, often).
Outside the US, I'd be surprised if any country cracks a few thousand employed in such businesses. Yes, a few enterprises have in-house coders, but that's dying a slow death (and the less custom code written in VB4 that's maintained in-house, the more I'll be happy).
No, you teach the kids logic and problem-solving. Yes, simple programs can be used as *examples* of boolean logic flow, but assuming that learning to code automatically teaches logic is exactly backwards.
Once you've got kids grounded in the basics of logic and problem-solving (and yes, not just in mathematics either, where this stuff is mostly taught these days), then the ones who have an aptitude can move on to bigger and better things. Like kids with an aptitude for maths getting fast-tracked into calculus or physics early.