Suppose then there are really two markets here: one for "good" programmers and one for "mediocre" ones. My rejoinder still holds if it is really the case that they can only do with good programmers and not mediocre ones (doubtful). And since it is presumably possible to transition from non-programmer to mediocre to good with effort, the fact that "not enough" people are doing so still implies the price is not high enough.
I am mainly taking umbrage at your use of "shortage". The preferences of the market participants themselves are certainly not an external force. I think we should not concede to them that there is a shortage when there is not because then they go on to use that as justification for all kinds of counterproductive legislative proposals.
BTW, more than half of Keynes' GTEIM is about employment. The original question impelling modern economics is "how do we get to full employment? and what does that mean anyway"? Of course the model is an approximation. But don't use "economics" to justify an argument and then turn around and say economics doesn't model the real world.
> The fact is that they could offer $1,000,000 starting salaries tomorrow and the pool of 'qualified' applicants would not change because salary is not the determining factor here.
OK. I think this is the core of the matter. Let's assume the number of "qualified" programmers is fixed over the short term.
The market is made of actors/companies. If a company wants more of the qualified programmers, and they pay $1M starting salary, that company will get them. And then the market price will rise. The fact that it hasn't risen to $1M implies the companies don't really want them that badly.
And in the long term, a price raise would encourage more programmers to become qualified and the problem would be rectified. But if what you are saying is true, and they really only want Stanford grads or equivalents, why would they care about H1Bs? It's not. They want to keep the price down.
Even if we assumed the number of qualified programmers were constant, there would be no more of a "shortage" than there is a shortage of gold. We don't say there's a gold shortage even though its quantity is "fixed" and presumably everyone would like more of it if it were cheaper.
I think people make a stronger argument for a shortage in the labor market WRT doctors. In that case there is a cartel (the AMA) keeping the quantity artificially low. There is no such phenomenon in programming. There's nothing stopping a university hiring all top-notch CS profs and becoming the next CMU/Stanford, and charging students a bundle...if the price were right.
You don't believe there is ever a monetary point that you could convince them that development is a better deal than what they are currently doing? You don't think $1M, $100M, $1B wouldn't temp them in the least?
Side rant: Directed at many posts already in this tree. Economics 101 does not describe any real market and the labor market is about as unreal as it gets. Developers are not interchangeable goods, and the flexibility in supply is almost non-existent. There will not be 100 new universities founded this fall to 'sell' into this 'market'. The market for DaVinci's would never clear if he were alive in a way that would make all buyers happy. Not. Going. To. Happen.