I've been both a professional pilot and software engineer. The process to become a pilot was more intense in time and cost than to become a software engineer. The interview process for a job as a pilot is much easier than the interview process for a job as a software engineer.
The barrier to entry for software engineer jobs is all at the interview. That's why it's so hard, tedious, and complicated.