Increasing the skill supply is the right thing to do if you're Google stakeholder, or broadly speaking, a capitalist. It's much more questionable if you're in the labor force.
Google should pay high salaries. The market will supply the skilled workers when the salaries are high enough to attract more workers.
(Google does pay high salaries. If they want more skilled workers, raising their salaries is the most efficient way to get that outcome.)
The AMA is responsible for maximum doctor quotas that drive up the cost of healthcare.
The AMAs decision to artificially increase the cost of Healthcare literally kills people.
I don't know how much a piano teacher costs, but I know it's the right amount because that's the equilibrium.
A more efficient allocation of resources would look like getting rid of 'too big to fail' banks and decreasing the rent that the finance industry extracts.
And, more importantly, why should I care if it's an "efficient allocation of resources" when the alternative is that I no longer get a decent wage?
Replace "developer" with any other profession to convince yourself.