That's near optimal, but few offices with software developers offer both options. Yes, communal areas for some type of work/communication, private areas for others. It's staggeringly obvious that this meets everyone's needs (both individuals and the collective team) but I've found very few places offer anything remotely similar.
The 'office with closed door' is still seen as primarily a 'managerial' thing, in places I've worked and been.
The 'office with closed door' is still seen as primarily a 'managerial' thing, in places I've worked and been.