> And that also guarantees that when you leave the company, you also leave your "friends".
Why the scare quotes, around "friends"? Coworkers can be true friends, couples can form too. And of course it can last for way after you leave the company.
What GP was saying is that in person meetings, as it is common in the office is how you get to know new people, who may or may not become true friends. Once connection is made, work becomes secondary, though it helps in the sense that it maintains physical proximity. There is nothing special about work in that regard, school, clubs, associations, church... have the same effect.
I also think the intermingling of friend vs work relationships is not as problematic as people make it, unless there is an obvious conflict of interest. I have people at work with which we don't talk about work when we meet outside. I also have friends I never worked with who happen to do the same job and we sometime talk about work. I know that some people want to set hard boundaries, and maybe they need that, but I have also seen plenty of healthy relationships between colleagues or ex-colleagues that extend well beyond work.