I believe it is very difficult to get works done in an open plan office. That seems too distraction prone. Noise cancellation headphones can get useful only if accompanied by an extended hood to guard vision to the screen. So that the programmer does not get distracted by any human movement nearby.