You will see tech "luminaries" talk about T-shaped people sometimes on Twitter, implying that you need both breadth and depth. Depending on your level of cynicism, you can either take that as them trying to get 2 employees for the price of 1, or a genuine observation that breadth alone doesn't let you do very much, while depth alone might leave you doing the wrong things.