The majority of Beijingers used to live in courtyards flanked by houses by four sides: https://en.wikipedia.org/wiki/Siheyuan
Growing up in one, you get to know all of your neighbors really well since you see each other every day. My mom who grew up in a one, still knows all of her childhood friends and they have regular reunions.
Wish they were more communal spaces like this today where you're bound to regularly run into and interact with your neighbors.