The reality is that "developers" are replaceable, it is not just a perception. And by "developer" I mean developers that have a few years of experience under their belt but no real differentiating skills. This is an important distinction; I've met developers in their 40s with no differentiating skills despite decades of work history and developers fresh out of school that could materially differentiate themselves from ordinary developers. It is an important distinction. Developers with interesting skills are a lot less replaceable.
To be honest, I don't need any "developers" in the generic sense. My company does not hire them. We hire people with material skills that (1) we need and (2) are not widely available in the pool of people that call themselves "developers". I literally can't use the rest no matter how the conversation is framed. We pay well above the median wage for the developers we do hire because we know we are hiring them for their unique and valuable skill set. We absolutely pay for talent but have no interest in average talent.
Most engineers aren't so well-compensated. Most doctors aren't neurosurgeons, either.
I looked at Jane Street in college but it seems they start their developers at $100k with no bonus, i.e., less than Google, Facebook, etc., even though Manhattan is even more expensive than the Valley.
To bring it back to an HN audience, consider high-end software engineers. There is ferocious demand for them and they can demand wages that is an integer multiple of the average wage in the US and employers will pay that. Most of these companies hiring high-end software engineers are essentially in a price war with other companies. The pool of new software engineers capable of the job does not grow fast enough to fill the growth in demand. When a company poaches a software engineer from another company, all they have done is move the demand to a new company. Forcing people to work less does not create a vast pool of highly skilled workers with deep technical expertise, nor does it make it any easier to develop that expertise. The number of jobs increase on their own. The number of workers qualified to fill those jobs does not. As the average skill required of those jobs continues to rise, the number of qualified people will diminish.