Before you get all indignant, note that you're comparing a median and average, and for income distributions like these the average will skew higher. Also, Google, etc, also hire non software people from overseas, you can see them in the H-1B salary data, making less than software engineers.