Earlier quoted context omitted.
I think you hinted at the real reason: Location. Stackoverflow is largely based out of NYC, so their salaries are going to be based on that starting point. The average developer salary in the US is $80K but when you start going state by state you can see that NYC/California/et al are throwing that figure WAY off.
This is correct. Outside of the big two hotbed areas, developers are definitely NOT being paid in the hundreds of thousands. When you factor in the NYC/California cost of living tax, you're not actually coming out that far ahead. The experience gained is obviously the big benefit however.
Of course, if you're trying to raise a big family, the math works out a little differently.