You're never going to make as much again after 40: based on what metrics? Ageism is illegal in the US, and if this is true for you, you probably did not cultivate the type of software engineering skillset that scales well as you advance up the career ladder.