For the latter, there are times when you need to think about working, and when you're doing that, being in the office with a group of people and a whiteboard is invaluable. But at some point, you know what you need to do, you just need to get into a flow and do it. And that is near impossible in modern offices. That is especially important for engineers, but it also applies to accountants and designers and carpenters and any productive labor that isn't management.
Introvert/extrovert doesn't come into play, all productive labor needs to get into states of deep focus.
Maybe if engineers all had doors that closed, but for some damn reason we haven't had those since the 1960s.