(1) If someone doesn't keep up with currently relevant technology, they will find themselves without the job skills that employers are looking for, regardless of whatever other qualities they may have. This isn't ageism.
(2) If someone works at the same place for 10+ years, getting raises every year and becoming more and more valuable because of their knowledge of the innards of one or more huge codebases that are specific to that company, they're likely to have a hard time finding another job doing something different that pays as much or more. It's very easy for people to settle into a routine for many years that doesn't necessarily carry over to another job. Someone in this situation might have to take a pay cut (maybe a big one) to start from square one doing something else at another company. This is an unfortunate reality of being a software developer, but it also isn't ageism.
(3) If a really young entrepreneur is hiring for their startup, and they haven't had the life experience to develop the maturity and insight to avoid being biased towards hiring people who are just like them, it is possible that they will favor a younger developer over an older developer based on age alone. They may not even be aware that they're doing it, they might just feel like all other things being equal, the younger developer is a better fit for the company. This could be ageism sometimes, and it's very unfortunate when it is.
(1) and (2) are the perils of having a long career as a developer. Employers who don't hire someone because of these reasons are making rational hiring decisions; they're not making decisions based on being biased against someone because of their age.
I don't know how often (3) happens though. I could see it being a problem in SF, where I've heard the job market is disproportionately composed of startups. I don't think it's like that in the South Bay (at least not to the same degree), where there are tons of large and established companies that are less likely to do this.