Philosophy courses did, seminar-style analytic philosophy classes in particular. (I wouldn't say that history of philosophy classes altered the way I thought, though I can totally see how Hume might be shocking to someone very new to the subject.) Aside from the actual content I learned, I got the following out of them:
I don't know if you're in need of any of these things, or if you're likely to acquire them through a small handful of philosophy classes. Even if you are, whether or not you'd succeed greatly depends on the quality of your teachers and classmates.
Did computer programming make you a clearer, more precise thinker? How about mathematics? If so, what kind? Set theory? Probability theory?
Microeconomics? Poker? English? Civil Engineering? Underwater Basket Weaving? (For adding... depth.)
Anything I missed?
Context: I have a palette of courses to dab onto my university schedule, and I don't know which ones to chose. This much is for certain: I want to come out of university as a problem solving beast. If there are fields of inquiry whose methods easily transfer to other fields, it is those fields that I want to learn in, at least initially.
Rip apart, Less Wrong!