It might be good to decouple the work coding environment vs. the coding activity itself.
Secure the income stream by doing what is expected of you, and use your personal creativity on side projects with a potentially new language (e.g., Rust, ...)
On a personal note, the older I get, the more I code, so it was those work environments that made me doubt.