“A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyse a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.”
– Robert Heinlein
When it comes to acquiring skills or pursuing a profession you can broadly classify people into generalists and specialists. Generalists are the ones who do not fixate on a particular skill but learn and pick up a lot of different things without getting too much into the depth of anything. Specialists on the other hand choose a niche and go to the depth of it and solely focus on that particular skill or field.
Debating and trying to reach a conclusion on which one is better would be a futile attempt because both work well in their own ways. Generalists are capable of handling a wide array of things and are better at managing any function that requires a grip over many different streams. Specialists on the other hand do what they do really well and they are the go to people in their domain.
Going beyond all of this, there is the understanding that everyone needs to have a certain skill set to succeed in a career that involves working with other people. Interpersonal skills, writing skills, ability to talk confidently in front of a crowd and the capacity to manage a team are certain things that will take you to a different level when combined with your subject knowledge.
All these can be tedious if they have to be worked on in time of need at a later stage in your career. Mingling with people during group activities, pursuing interests by attending workshops and organising events are few opportunities where entire sets of skills will be ingrained in you without you even giving it much thought.
Long story short, pursuit of holistic development will boost the success you have in your endeavours and also make your work interesting and enjoyable.