image created by Margaux Peltat for the Chilled Cow YouTube channel
Time for #DEVDiscuss — right here on DEV 😎

Should Developers Specialize or Generalize?
Void⚡ ・ Jan 24 '23
Inspired by @codewithvoid's Top 7 post, tonight’s topic is...should you specialize or generalize as a developer? 🤔
Questions:
- Have you chosen to specialize or generalize as a developer?
- What are the pros and cons of your approach?
- What are the pros and cons of the other approach?
- Any triumphs, fails, or other stories you'd like to share on this topic?
I would say: depends on the stage of your career.
For someone starting (<2 y), I would say “generalise” until you get more experience to be able to have more opportunities. Then, once you get more experienced and have found something you really enjoy in specific and believe would be a good place to become an “expert”.
Still, being able to learn new things and do whatever comes is the way to go, in my opinion. Depends also on the market.