THERE’S an old Italian saying, “A tavola non si invecchia,” which means: At the table, you don’t grow old. All of us, of whatever age, need to socialize in public places to feel connected and alive.

That sense of shared conviviality was notably absent recently when police officers removed loiterers, many of them elderly Korean-Americans, from a McDonald’s restaurant in Queens. The slew of comments that followed a report of the dispute were unsympathetic to those who whiled away their hours there.

One New York Times reader commented, “It is only in the inner city that McDonald’s and Starbucks are the gathering places for the unwashed, elderly, incompetent and infirm. I suppose this is the price for being a city dweller. These people ruin everything!” Others offered proposals to “solve” the problem by making the seating uncomfortable or removing it altogether, suing the elderly customers or playing blaring rap music to drive them away.

Older patrons may test the limits of public dawdling, but this phenomenon — call it loitering or community building — is essential for the survival of many people 65 and older. According to the last census, seniors constitute 12 percent of New York City’s population. Many of them are single, sometimes far from family, and have lived in their localities for decades, their entire lives even. For the past four years, I have studied how neighborhood public places help older Manhattan residents avoid isolation and develop social ties that offer support, ranging from a sympathetic ear to a small emergency loan.