I've never specialized in one field.
I've worked with frontend, backend, DevOps, and a bit of QA. I now develop tools in my company to make other developers more productive.
Creating tools is the most fun I had with software engineering. But it wouldn't have been possible if I specialized