I moved cos my next job took me to Geneva (which is nowhere near as nice) but remember the city fondly. Switzerland is generally a wonderful country to live in and work, if you can cope with not being in a culture hub (which is the only real drawback, relatively easily mitigated by weekends elsewhere).
Also, people tend to forget that Zurich has 320.000 inhabitants and one should account for this when comparing it to mega-cities like Berlin, which is literally ten times bigger.
I heard few companies like Zalando can pay in that range for good developers. Most of the IT companies in Berlin seem to be startups with no/limited funding, thus low salary.
Around 50-55k Euro gross is enough to live comfortably. Even for someone who came here from Asia, I find grocery stuffs, beers etc very cheap. Rents are going up, but still cheap. I live in 42 meter square studio flat for around 500 at the centre of the city (current rate should be between 600-800).
I guess, by Swiss standards I live frugally. However, I don`t feel that I am missing a thing.
40.000 Euro gross amounts to 2000 Euro per month in net-salary. My living costs in Berlin would be around 800 Euro.
I chose to go to Zurich instead. Here, I am making 92.000 CHF also as a junior web-dev. Due to the low taxes, my net-salary is 6.500 CHF and I live on 1300 CHF all-in.
Zurich is the only place in Europe where salaries are comparable to NYC or the Bay-Area. If you are interested in moving here to work in IT, shoot me a mail. Contact details can be found in my HN profile. Alternatively, check out my medium-story: "Eight reasons why I moved to Switzerland" (http://goo.gl/EIX4UX).