Now, you can hate on my comment without realizing that I respect the work and knowledge represented by such an achievement, but this is just real-talk from 15 years in the trenches. I have no college degree and am probably more marketable simply due to my wide experience in various industries and projects. That is sad but true and maybe indicative of the funked up system we inhabit.
I would suggest against a PhD in CS right now unless you know exactly where you want to work and that they require that kind of degree, or if you want to be a teacher then a PhD is very valuable. I need stuff that works and fast, not to re-invent the wheel by using outdated techniques your professors taught you.
A masters degree is probably the best higher education in this field. For programming it's all about ability, work-ethic, and long term relationships with the company, because you are an investment as an employee.
I do consulting and have never had anyone ask me about a degree (I have a degree in a completely unrelated field), I don't even give out a resume and would not hesitate to tell a potential client to piss off just because of the huge amount of work available for someone who can create value for a company.
It seems you have a very wrong idea of what PhD training is. It isn't about any outdated techniques, unless you call science outdated. PhDs is about doing research and writing scientific articles and presentations documenting that research. Everything else is a side effect.
Whereas someone in the industry has been developing their generalist skills and keeping up with current technology.
True. Although if you can complete a phd at Stanford you almost certainly have the ability and drive to get to senior developer level within a year or two in industry. But when it comes down to it most companies don't hire for who you will be or who you can become but for your current skills and abilities.
Which is ok, but don't then turn around and complain about a skills shortage. And don't complain that employees have very little loyalty. And don't complain when you have to pay $150-$300/hr for experienced developers with expertise in your specific stack.
You think you are generalist because you don't even know anything else exist.
I have met a lot of PhDs in computational fields with mediocre coding skills, but if you are in the position of being up with the times it's just a matter of marketing yourself properly. Not easy, but as I like to say, if you can code well your not in danger of starving anytime soon in this day and age.
For folks like me, we hop between jobs every 1-3 years because I can come in, understand the rather mundane issues facing a codebase and rectify them relatively quickly from my extensive real-world experience before moving on to the next spot with a modest-to-sometimes-significant bump in pay. But I can never get access to the sorts of positions you will have access to.
Why? do they fire you if they discover that you secretly have a CS PhD?
But with a PhD, you can target jobs that the employer feels are too complex and demanding for a simple BS