Something I found interesting:
Despite being a normal feature of many modern buildings, corridors did not become common until the late-17th century, and were only first used widely in the 19th century. Prior to the use of corridors as a means of circulation, people would simply flow from one room into the next.
It has been theorised that the proliferation of corridors was driven to a certain extent by socio-economic factors and evolving moral attitudes. Corridors were a means of separating the occupants of a building, such as servants from those they served, inmates from the prison guards, workers from supervisors, and so on. They created privacy, in that it was no longer necessary to go through rooms, it was only necessary to go in to them.
Corridors also helped increase the efficiency with which people could move through buildings, while also turning rooms into a series of dead ends by separating circulation from destination.
The design of corridors is largely determined by the functions of the building. Hospital corridors will need to be wide enough to allow bi-directional flow of traffic, including beds and wheelchairs. Hotel corridors need to be robust enough for suitcase wheels, trolleys, and so on. Corridors may need access to natural light from windows, or be lit well artificially so as to avoid dark corners and allow easy circulation.https://www.designingbuildings.co.uk/wiki/Corridor
Here we see the movement to organize the loose pre-modern culture. Prior to the 18th century, social organization was far less structured than it later became. See Foucault. The corridor serves to distribute people in space. It also enhances the possibilities for movement in space.
The emphasis on efficiency of movement is important, especially as society moves into the industrial revolution and capitalism. Time becomes equated with money, and wasted time becomes immoral.