Toddlers have atrocious fine and gross motor skills but we don't tell them to just sit still and do nothing until they're older: We let them play, explore, and yep... hurt themselves. We let them do things the hard way, so they can think to do it an easier way in the future. And I think the same philosophy can be applied to socializing.
I do understand there are school districts that serve large bodies of "latchkey kids." I was fortunate enough to avoid that in my public education, but I have less fortunate friends who came out fine-- several of whom had a much better experience in school that I did, weirdly enough.
And although I didn't exactly enjoy my time in school, I would never trade it for homeschooling. I had the foundation necessary to pursue my interests. And during my time in public schools, I've met several people in school I'm still friends with almost 20 years later.