I studied computer science and got my first SW engineering job in 2001. After 3 years I became Head of Development/CTO of a small startup and still spent 70% of my working time with coding. After 3 years I stepped down and afterwards had a few jobs with SW architect/lead engineer roles. I still code a lot, but also mentor younger colleagues. I‘m now 46 years old and use kubernetes, docker, TypeScript, AWS, GCP and nodejs every day. And my younger colleagues see me as an inspiration, because my coding skills are still amazing. And I help them on their Journey to become better SW engineers. I challenge them and they challenge me.
And I was always curious and interested in new technologies, methodologies and trends. And I think even outside of SW engineering it‘s becoming the new normal to constantly learn and adapt to the ever changing job market.
So it‘s up to you and I don‘t believe the younger folks are better at learning new tech. You just need a solid SW engineering background and need to invest in keeping up to date.