The school environment is a very artificial one, and not very comparable with much in the adult world. Those who stick to the rules learned there tend not to do well (also found out the hard way). For years I've tossed the idea in my head to write a blog post of all the life lessons one learns in school that lead to poor performance at work. Likewise, I'd like to write another post on all the lessons from school that often do translate to the work environment (because it was so ingrained in us), but which leads to suboptimal working conditions.
I can't obviously discount your experience, and my school experience was actually quite good - but just as you are aware of the downsides of home schooling, I'm aware of the downsides of schools.
If we go beyond anecdotes and to research, I believe most research is in favor of home schooling - both academically and socially.