A computer science PhD, in my humble opinion, does not teach how to program anymore then having PhD of Architecture teaches you how to build a residential home. If it did, there'd be much more time spent learning about tooling and practicing programming instead of reading papers and generating novel research.
If I were hiring C.S. PhD's, I would not be judging them on the quality of their code or proficiency in any particular language.