The age bias is real.
While humans are growing up, we're accustomed to view our "elders" as our superiors in all respects. Childhood teachers encourage this view. However, at the point when you enter the workforce, in my opinion you should set these ideas aside and treat everyone as a peer; and keep your mind open to the idea that both people may have something to learn from the other.
No missed opportunity, I pivoted the deal after turning down the first.
If there's a major shift in those languages (vs. JavaScript) it seems more worth it to retrain once it's solidified and you see companies actually looking for those skills.
Fast moving ecosystems means more things become deprecated more quickly and you also risk more "train thing that will be useless next year".
> If you do C#/Java/Go/Rust/C++/C, you're probably not going to be left behind.
I wouldn't be so sure. The landscapes don't change as quickly as web dev does, but they do change. I did a bit of Java/Hibernate work 8+ years ago. I look at modern Java code bases now and it's so annotation heavy I couldn't make heads or tails of it.