In other industries, it’s mostly about credentials. The reason a surgeon doesn’t have to prove themselves when they switch hospitals is because a medical degree means something. Getting a medical degree is brutal. The failure rate for exams is very high (60+% for specialist exams). The whole process is effective at weeding out anyone who won’t be able to do the job.
In comparison, software has no equivalent credentials. Universities, collages and bootcamps have no incentive to fail anyone. As a result plenty of weak students pass - only to discover that they’re largely unemployable. This does a disservice to lots of people - companies can’t trust degrees, and need expensive interviews. Good candidates have no way to reliably demonstrate their strengths. And weak students waste tens or hundreds of thousands of dollars and years of their lives failing to learn to code.
But the benefit of our system is that we allow programmers to be self taught. If you can’t afford to go to collage, or you are from a poor country, or you just don’t like school, that’s no barrier. You can learn programming in your own time and still get a great job. There’s lots of great programmers with the aptitude to become lawyers or doctors - but who would never be able to get the piece of paper they need to get those jobs. That’s something we as an industry should be proud of.