Does ageism have as much of a perceived presence in tech culture in regions other than the valley?
Even at startups, I would guess that the average programmer is over 30 in my area (Charleston, SC). An older programmer here can pretty much live like a king/queen on their salary with nearly limitless employment, assuming they keep somewhat up to date ("up to date" being more like "knows how to use OOP and a standard ORM", not "has a prolific Github profile and uses TDD"). In fact, many of the top programmers you see here are people who left SF or NYC for more stable employment in finance, cushy consulting, and better real estate prospects.
[Disclaimer: I am neither an older programmer nor a .Net/Java dev, but this has been my anecdotal experience]