Question: is a phd in computer science worth it?
Answer: The only reason to do a PhD is because you love doing research. If you don't love research, don't bother — it is not worth the time, money (in terms of opportunity cost vs. ... You want to go into computer science academia or do high-level research in industry, especially if you want to work on artificial intelligence.