I really don't understand how companies get in the position where they think it is a good idea to have people who hardly know what a "library" is managing engineers.
Because managing people is a different job to development. Chances are a manager who can't code who is a shitty manager would still be a shitty manager if they could code.