Totally agree and I have constantly kept myself up to date with ongoing training and classes. I have watched way too many great engineers get 'let go' after 20+ years and in their 50's. As a millennial I really understand that there is no way you will get this. But I hope, sincerely, you will remember this conversation when you are in your 50's.
And please don't assume that just because someone has been here for 20+ years they have not kept themselves up to date in the tech realm. I assure you, most of us 'oldies' are smart, hard working and up to date. I have many millennials under me in my team- they are sharp and great to work with and train. But make no mistake. They are being mentored and trained by someone older. For a reason.
I wish you a long successful career, wherever that may be-
But watch out. Honeywell lost a multi million dollar ageism lawsuit a few years ago- they have a rep for this for a reason-