I've been in programming and IT since I was 18 years old and I've NEVER seen an issue of age discrimination. As an example, the CTO at my current job is in his 60s. I am 34.
A trend I do see is that older people stop caring after a while. I work in the healthcare industry and we get strict audits constantly due to HIPAA regulations. At a previous job, about half our staff was laid off once due to refusing to fix issues that came up during 3 different audits. The majority of these employees were older, 45+. They attempted legal action, but it didn't get anywhere. The things that came up were explained off by responses such as 'it's not a problem' or 'we don't have the resources to fix that'. The company got tired of hearing no and losing clients, and after an investigation via a 3rd party, they fired all of those that refused to do their jobs and brought in newer folks. The newer folks fixed the issues within 2 months and the company doubled in size, revenue, and profit. All of the newer folks were people in their prime years, all getting married, having babies, etc. Most in their 20s and 30s
That's not the employee's issue, that's the employer's issue. Standards are set too high. The company doesn't want to be on the hook for training. Companies of old had classrooms where people were trained. Investing in your Employees meant investing in your company. Companies all over the world are going to be hit hard as time goes on. The global economy is already showing signs of hitting a ceiling.
This also ties in very closely with wage inequality. As wages go down, so does the GDP for a given country. People can't spend money they don't have (excluding using credit cards, etc.) That means 'growth' will no longer be possible, and instead you'll be seeing recession after recession as the market continually corrects itself.
Note that I don't have a horse in this race (I make a good salary).
"I got everybody to pay up front...then I blew up their planet." "Now why didn't I think of that?" -- Post Bros. Comics