If you include quality of life at work, exposure to radiation, not being able to sleep in your own bed and have dinner with your family everyday, and slogging through years of lower paid piloting to have a low probability chance of making it to the higher paying flights, programmers handily beat pilots in the pay to quality of life ratio.