From The Best Programming Advice I Ever Got
Computer Science moves at the speed of light. It’s not bad to have a specialty. But to complement that depth, you should have a breadth of knowledge in areas outside your comfort zone. This can allow you to adapt to the market as languages and frameworks come in and out of favor.