Why such a desperate trend to make everyone grow their own food again? Sure, the food industry is not always honest,not always as good as your own home-grown food, but still - it allowed us to do something else with our lives, and pushed our societies an order of magnitude ahead.
As much as people should APPRECIATE farming, I don't think that everyone should do it. We produce enough food as it is. We should teach kids how to code however, not because we need more programmers(which we do,but I digress) - but because it's the easiest way to introduce kids to logical, technical-like thinking. That way we can have more mathematicians, physicists, astronomers, engineers - people who we can afford to keep alive(almost literally) because they do not need to grown their own food anymore! They can sit at their desks for the whole day, thinking how to make the world better, instead of looking at how the crops grow.
I would say - why not give kids both? Is it too much to ask? Show them how vegetables are grown, how animals are cared for and how are they slaughtered, but at the same time, yes, please teach them how to code.