That depends in large part on the philosophy department. More analytic [1] departments will teach lots of courses that could just as well be cross-listed as theoretical computer science courses.
But some departments are less analytic (e.g. departments heavy on [2] and [3] aren't too difficult to find in the US). In those departments, the mode of thinking is very different from what you'll experience in a CS course.
And in both cases, taking a lot of humanity courses will teach you how to write well. Which is definitely a skill that a lot of CS majors lack.
(Also, a course of study in analytic philosophy can definitely help round out a CS major that's too light on the theory courses.)
But some departments are less analytic (e.g. departments heavy on [2] and [3] aren't too difficult to find in the US). In those departments, the mode of thinking is very different from what you'll experience in a CS course.
And in both cases, taking a lot of humanity courses will teach you how to write well. Which is definitely a skill that a lot of CS majors lack.
(Also, a course of study in analytic philosophy can definitely help round out a CS major that's too light on the theory courses.)
[1] https://en.wikipedia.org/wiki/Analytic_philosophy
[2] https://en.wikipedia.org/wiki/Continental_philosophy
[3] https://en.wikipedia.org/wiki/Classics