I mean, I’ll be the last person to say you need four years of college to be an effective programmer, but that’s not really what I take issue with. I dropped out of my BS after freshman year and got my first job in the industry instead at 20. The rest of school isn’t busy work, I just prefer teaching myself, as I had been already for eleven years.
You don't actually have to socialize that much in college. And most students don't have that long commute.
I don't think you should need college degree to code. But I don't think I could learn what I learned there in 6 months either.
Where I live, colleges prepare you to be able to choose to be many things - continue academia, or be part of the workforce under diverging titles. They assume you don't know what you want to be yet - and it is mostly true. But if you are at a point in life where you know what you want to be, you can skip most of it (or even do it live when needed). The "keep your options open" attitude of colleges have a lot of overhead. What most people need from a 4 year college can be easily condensed into a year. It WON'T be 4 years worth of material. But if you know what you want (not keeping your options open) you don't need most of it.