Jerry Pournelle, a science fiction writer, essayist and journalist, once wrote (and still stands behind) this fairly harsh criticism of what he describes as the so-called social sciences:

The Voodoo Sciences

I think he makes good points and expresses sentiments that I also harbor.

There's nothing like reality to throw a wrench into what one would like to think is "elegant thought". Rather sadly, even tragically, a fair proportion of people these days seem to think that when they go and study languages or literature or philosophy or theology or X or Y or Z, that they are learning something which apparently they think is important and worthwhile. What they refuse to grasp, however, is how their "education" is not teaching them to think. People with these types of educations tend to end up being inept in the realm of logic, inept of detecting their own biases, inept at reaching correct conclusions, prone to emotions, misinterpretations, and appalling lapses of reasoning. They are prone to this because their education never teaches them to think.

I am aghast to see engineers or physicists thinking of themselves as having inferior intellectual status compared to philosophers and other humanities or "liberal arts" graduates. In my mind, there can be no doubt whatsoever as to which education is inferior and which superior. The difference is vast! All those degrees in mushy and unpalpable subjects are a whole lot of fog and rhetoric that mainly goes around in circles avoiding facts in order to promote various fantasies. Such "educations" are truly as nothing compared to an education that pits the student against reality and requires him to understand it and master it, provide answers that can be verified, develop theories and ideas that can actually be falsified, that hone the student's reasoning. This is what trains the mind in useful thinking. Useful thinking - as in, thinking on which we can base our decisions, and trust that in most cases those decisions will actually be correct; as opposed to thinking that misleads, leads to decisions that will either not have the desired impact or will even be regretted. Thinking that is therefore at best useless, and at worst harmful.

If there is any one discipline in particular that humbles the mind and trains it to think clearly, decisively, while honing awareness of the mind's own fallibility and potential for being wrong, then this is programming. I am not aware of any other discipline that provides such stark feedback. If your program is not behaving correctly, then in virtually all, all cases, it's not the fault of the computer; or of the operating system; or of the programming language. The fault is yours. No other discipline makes you spend years writing concise specifications for what you want to happen, then makes you face the errors you didn't realize you made; over, and over, and over again. No other discipline has such short feedback loops to show you the faults in your thinking process; and consequently, help you improve the accuracy of your thought as much.

Now compare that to a major in philosophy or history or languages or literature, where any interpretation is defensible, and everything you fancy can be thought to pass.

Rubbish.