We are taught mathematics because a basic understanding of that discipline is necessary to function in a society that runs on numbers. We are taught physics, chemistry and biology in high school so that we have a basic understanding of the sciences. I think everyone should have at least a basic understanding of programming. That doesn't mean that everyone should be a programmer any more than I think everyone should be a physicist.