The scary distant Real World turned out to be much easier to handle than the artificial one behind the walls of the schoolyard.
And to wit, by all objective measures, I ended up "handling" the Real World far better than any of the people who told me I wouldn't.
Maybe those who teach secondary school do so because they have difficulty handling the real world.
* I both work as a full time developer at a fortune 100 company and teach a few sections of a college level programming class each semester. So I don’t know what this says about me.
The typical live-in-a-dorm college experience is not so much a mental shock as is about putting off adult life for another four years, while you party.
And, while older (30+) students do exist, most of them don't live in dorms (And those that do, don't live with all the 18-20 year olds.) They will be, at best on the distant periphery of your peer group.
For most people, college does not solve this problem.
Most people, as it turns out, don't pursue technical degrees. Fewer than 10% of degrees are in STEM fields, with another ~10% being in a medicine-adjacent field.
The number of undegraduates who actually go on to do meaningful, novel, work in a lab (As opposed to just using a facility for a few hours, in order to pass a course) is even smaller than that.
I don't think that's for the reasons you outlined, but rather because adolescents are treated like children right up until they've turned 18 and finished high school.
They go from basically having the rights and responsibilities of a child, to those of an adult, rather than a gradual growth of those rights and responsibilities as they mature.
Also, is it not common for teenagers to have jobs any more? I got my first job when I was 15, and haven't been unemployed for longer than a month since (I'm in my late 20s now).
Not just that, but they’re also actively isolated from people who aren’t of similar age. Teenagers (who don’t happen to have an older sibling) go through the identity-crisis period of puberty entirely without role-models to, well, model. Other than the made-up, exaggerated ones they see in TV shows.
It’s no wonder the adopted behaviour of most teenagers feels instead like some sort of cargo-culting of adult behavior, rather than a gradual acquisition of actual maturity; and no wonder that it’s such a mental shock for many teenagers when they either enter college or the working world, and so get exposed to non-age-segregated collaborative settings for the first time.