> I really believe that the "loneliness epidemic" is a product of a generation that socializes almost completely online, and has no connection with their community.
I agree about "connection with their community" but I'm less sure that socializing online is the root cause, though I agree it almost certainly a contributing factor at this point.
I live in a developing country which has substantially more street life, community, know your neighbors, etc than most places US/Australia/Europe. And a lot of it is simply due to the quality of housing.
When you've got 6 family members living in a house that might only be 300 square feet and there's no air conditioning...there's little surprise that in the evening so many people are sitting outside where natural interactions happen.
I can't find a reference now but I saw an academic article showing the same effect in the US South. There used to be a "porch culture" where in the evenings people would sit outside on their porches. This made it much easier for neighbors to interact. Then with the rise of air conditioning, suddenly being inside was noticeably more comfortable than being outside.
And it isn't just air conditioning. Consider all of the other changes in the past -- I dunno, 30 years? -- that have made "being inside" much more comfortable.
When I was a kid it was pretty common for kids to share bedrooms, for a house to have only a single television, there were only three TV stations anyway, definitely no handheld gaming/video watching/etc...all of those things were factors that would push you to go outside.