I think the ageism thing is not as big of an issue anymore. Yes, you will see it in startups that are run by 20somethings but I'm in my early 50s and haven't had any problem staying employed or getting offers.
If you stagnate skills wise or stop trying to grow/evolve your abilities then you definitely will have issues but that's true in many industries, not just ours.