I was taught programming in school (well, actually self taught from magazines like Byte, computer World and Unix World and a ZX81) in the early 80's, was an acoustic coupler modem that took 30 mins to get a stable line to a mainframe at some college our school had some airtime upon. Today, far more accessible, but back then, was hard on many levels.
Biggest hurdle was HR and one role I went for (was 20 then), had two interviews, HR and then the tech people. Litterly had HR peon say to me "That's a lot of money for somebody your age" and really was a very uncomfortable attitude. Blow the tech interview out of the water, got offered the job and more money than the HR peon bismershed for somebody my age and turned the job down flat solely due to the attitude of the HR peon and made that very clear. Took another job offer, for less money outer principle. Though turned out to be a better job. But had I not had the attitude from HR, I'd of taken that job.
Lot changed in that 15 year gap between mid-30's aged people and people in their 50's today. But then much has changed on many levels and I'd say for the better overall, albeit the age discrimination thing still exists, they just moved the goalposts.
But IT is still a young industry, compare to say accountants. But then accountant qualification from a decade ago, still worth it's value today, not many tech certs/qualifications that you can say that about as the industry changes and is still evolving. That is kinda the crux and what makes IT as an industry, hard to compare to many other industries as IT is just more dynamic.
That said - COBOL has remained pretty darn static. But I moved out of that area decades ago (before you the internet boom and the time you got into tech).
But tech is a constant learning curve, that won't change soon either. Hence any job in tech is not just the job, but a full time education on top of that to stay current.
Ease of access to consumers with the likes of ebay or app stores and lower running costs into breaking into those avenues have opened up many an avenue that was harder to access before.
But that is progress, come 50+, you may end up having the same perspective in relation to when you started out and starting out today.
My completely unscientific gut feeling was that it was the easiest to get started in tech in the late 90s & right as the industry started recovering from the .com bust (~2005, when I got my first "real" full-time developer job).
The funny things is that they were already teaching programming in secondary schools when I was a kid (i.e. it wasn't really 'exotic' to be a programmer) but even in my most recent job most programmers are in their 20s.