Some universities have something like a studium generale, which I don't think hurts to evade the narrow perspective of computer science. Otherwise it doesn't hurt to look into other fields.
On the other hand you can also study another engineering discipline and be a good programmer, but I believe that most content in computer science is worth it. At least at my university that was the case.