While you do have a point you probably mean Germany vs Silicon Valley. The average developer salary in Germany isn't that much different from the average in the US as a whole.
That said, in industries where software isn't seen as the main product but merely as something that helps selling that main products programmers have a low prestige (and by extension a lower salary) but I suppose that's the same in any country. Case in point: The ridiculously low rates programmers get in the financial industry in London.