That would feel weird being in a small space with just one or two other people all the time.
Having worked in different arrangements, I must say that every developer having their own office with a closable door is really the most productive. Though I have seen very small close-knit teams work sitting around the same table together.
But most companies prefer to give the offices to managers and put software developers out in the cubes.