There are so many different jobs and companies and career paths in the tech world that it's hard to draw generalizations.<p>For example, if you aspire to be a CTO of a big company, you should probably have experience across a fairly broad spectrum of technical areas. But if you aspire to write code at the cutting edge of machine learning, you may want to specialize more. Which of these people is "more successful"? It depends entirely on what their personal goals are - there's no universal measure of success.
This post from earlier this week covers much the same question:<p><a href="https://news.ycombinator.com/item?id=12803450" rel="nofollow">https://news.ycombinator.com/item?id=12803450</a>