Sadly this advice only applies to USA... E.g. UK has such an over-abundance of IT workforce that tech salaries are significantly below US despite comparable cost of living.
I would argue the lower salaries are for societal reasons (health care, cheaper university tuition, etc) more so than Europeans coming to work in the UK. Consider AmaGoogBookSoft salaries in London: lower but not scandalously so.