Business development, marketing, sales and the like all benefit from ad hoc conversations and team work (and banter). Open plan enables this and is therefore a strong positive for that type of work in my experience.
Coding, designing, legal drafting, accounts and other individual work usually benefits from quiet isolation to enable focused concentration, with break out areas for rest, collaboration and creativity.
Offices that provide these function-specific spaces are optimal and it's true to say one size certainly does not fit all.
At least, that's what General Consideration told me.