We can go abroad to study it for much cheaper. Alternatively, foreign nationals can come to study here: they'll pay twice as much as us to do so. Our higher education is subsidised. Likewise, we don't have to work in this country. Immigration is not a one-way system.
The number of companies that can sponsor a Tier 2 Visa is limited. Those that do have to pay £1000pa for each individual they sponsor. The individual themselves will have to pay >£600pa to subsidise the NHS for you and me.
We no longer have the Resident Labour Market Test - it was abolished because unemployment rates were extremely low - but most people who have passed the 2 year curfew to be allowed to take an employer to tribunal are in a job where their employers first had to prove the job couldn't be filled by local talent.
Perhaps the government should update the SOC code for software engineers to be higher. They determine the going rate to hire into these 'skilled occupation' roles.