I always thought the point of college was to learn things. I've never been able to wrap my head around the concept of "integration into the community to secure your future". Maybe that's because I'm so terrible at social involvement I can't picture it.
Integration into the community or personal experience are really the only two reliable ways TO learn things. This is why most classes, or at least most good ones, focus on maximizing these two things - either via a connection with a teacher, tutor, TA, or classmates you can rely on to work through problems together (something you'll be seeing a lot in comp sci, or should be if learning is your goal - get a study group, and never settle for doing the minimum needed) or via dedicated self-study.
The first is important because, barring uncommon circumstances, you aren't going to succeed alone. If you want the best chance for success, you are going to need to find people who can go there with you, and college is a great time to LEARN that sort of thing. And not just socializing with classmates, but socialize with teachers. Ask for more things to learn, volunteer to assist on their projects with grad students, or at least try to follow along. Socialization is how you open up opportunities.
Self-study, working towards things, is how you achieve
success with those opportunities. Luck is when Opportunity meets Preparation, and this is the preparation bit. Treat your classes as sort of a "bare minimum" situation. Hell, if you learn things in advance, you can probably even test out of a good chunk of them and either graduate early or spend a year working on more advanced stuff. Never treat them as a "cap" on your learning, or you'll be setting yourself up for failure.
College is, indeed, all about learning. But if you think it's about crappy classes, I reiterate - you are absolutely 100% doing it wrong.
Edit: And just as important, it's learning about yourself : Who you are, what your capabilities are, and most importantly what you want - not just career wise, but in an SO, in friends, etc. and so on. University is all about pure, distilled opportunity - and the only way it ends poorly is if you decide not to seize on any of it. Well, that or ending up in a shitload of debt. But still!