In my experience, regular programming is doable in open floor plans. You can write stupid crud sites and winforms apps just fine. As long you have headphones on. But when you have a system crash and need to dive through 100mb of log files to try and figure out what went wrong. Good luck doing that in a standard open office! You just have to schedule a few hours after everyone else has gone home so you can have some p…
Simpler work where you know exactly what you're doing, where there are no difficult choices to be made, can probably be accomplished in any environment. Sometimes that's the vast majority of the work you're doing, sometimes it's not. It really depends on the type of application.