There really is a time and efficiency cost to all the task switching g.
But equally, and as another poster said already, software development really does require having meetings to get a good outcome.
I think it’s missed by many people that see meetings as an inconvenience, but very very often I have found that a meeting has radically altered the goal, or the plan, or the context. Pushing back against the meeting would be a crazy thing to do.
Edit: and they'll happily point out the hypocrisy of the sales, marketing, and executive teams on coffee walks.
I've been doing 30 minute standing meetings pretty much every day since the XP folks coined the term "stand up", which was about 20 years ago. Every single one has consisted of the boss talking for 28 minutes (sometimes back and forth with one team member) while everybody else stands around, followed by, "ok, does anybody else have anything?" If anybody says yes, it's "we're almost out of time for this meeting, so let's take it offline".
20 years, five different employers, exact same experience every time, every day. Human psychology doesn't fit this structure the way you want it to.