IMHO it all boils down to "unhireable... where?". Of course you're hireable, there are plenty of places for people in their 40s with plenty of experience.
There is a bias of course in Hacker News towards young fast&furious companies in Silicon Valley where it appears that if you're not a ninja bro coder you're out, but it's just a fraction of the cake.