Earlier quoted context omitted.
That's only somewhat true. It will smooth out living standards as it crushes working people down by exploiting the lowest wages anywhere in the globe. Simultaneously, the wealthy bourgeoisie will become richer and richer until the internal contradiction in capitalism, that profits come from consumers that must work for wages, tears the system asunder. The system that follows will likely be fascism, the seamless merge…
Years-long waiting lists for apartments shared with many strangers are the historical norm under socialist housing schemes and the only evidence-based expectation were we to implement one today. This despite central-planning allocation of graduates to work assignments and no freedom of internal movement. This alone would probably "solve" the housing crises in major cities today: just stop letting people move to them…
In China, they are building entire ghost cities and then filling them as fast as they can. In the Soviet Union, my understanding is that the economy was out of wack because of the need to build the military to defend against Western aggression. If those resources were diverted to the civilian sector, perhaps there would have been more and nicer housing?
EDIT: Even in a capitalist country I'm still living with roommates, and this is part of a trend for younger people. That kind of takes the bite out of the criticism that capitalism offers more freedom in that regard. Such freedom once existed, but it has been declining.
EDIT2: I like my roommates. Not dissing them at all. :)