There are many reasons why people move here, I even wrote a blogpost about it: "Eight reasons why I moved to Switzerland to work in tech" http://bit.ly/2JxSQPt
Salaries are ~2,5x higher than in Germany with slightly higher living cost. You can win if you don’t need 4 bedroom apartment and kindergarten.