Toyota calls it a "gemba walk" -- managers and even executives need to walk the factory floor and see problems with their own eyes, not through hearing reports.
With software, the codebase is the gemba, not the office. Managers don't need to be writing code, but they should be reading it. Otherwise it's like a production manager who has never seen the inside of their own factory.