COL eats it away, the extra salary is not worth it. I'm sure its the same for SF, NYC, and other similar cities.
Point being, putting 2X thousand dollars a year in long term savings in NYC is a better financial choice than saving X thousand a year in Townsville but having a nicer neighborhood or something.
Not that the dichotomy works exactly that way, but adjusting gross salary of a senior software engineer by cost of living makes little sense since only part of her pay goes to cost of living.