I'm a fairly young SWE in my early twenties, and I've tried a bit of everything.
Fullstack web dev, a bit of cyber security, a bit of AI, mobile apps, all kind of automation/bots/mass scraping, growth hacking, small games, low level C...
And I'm starting to wonder if I should specialize.
I've always been interested by AI, but since it's such a large/complex field, I never really took the time to dedicate myself to it completely because I'm always interested by 10 things at the same time.
I have absolutely zero doubts about my employability, but I'm afraid to regret it long term if I don't specialize in an interesting field.
Do you regret being a generalist? Have you been one in the past and then changed? In that case what do you prefer? Do you regret it?