This applies to all doctors, when you can artificially limit your supply, of course salaries are high, you make sure of it. If everyone who was qualified to be a doctor -- i.e. residents who should already be but don't have that magic piece of paper --, was made a doctor automatically after X years of residency, wages would be no higher than programmers.