I don’t think so. Now it basically reduces to the general claim “learning math and programming improves general thinking skills”—which, by the way, I’m not convinced of in full generality -, but has nothing to do with the average person. The problem is that learning programming and math takes so much time and effort, if it is at all possible, for the average person (and with no easily identifiable returns at that) that the antecedent of your conditional is unlikely to ever be true, thus rendering your advice largely irrelevant.
I don’t think so. Now it basically reduces to the general claim “learning math and programming improves general thinking skills”—which, by the way, I’m not convinced of in full generality -, but has nothing to do with the average person. The problem is that learning programming and math takes so much time and effort, if it is at all possible, for the average person (and with no easily identifiable returns at that) that the antecedent of your conditional is unlikely to ever be true, thus rendering your advice largely irrelevant.