I think if PhDs are bad at code it is because they ain't coding in a team 7.6 hours a day. It is not the PhDness rather than not being a coder. (Sone PhDs might code a lot as a hobby and be good).
You can also write a medical PhD without knowing how to do first aid on a snake bite.
You can also write a medical PhD without knowing how to do first aid on a snake bite.