Switzerland is not in the EU as OP asked, also you spend a large chunk of the gains over Germany on higher living cost (rent, but also basic stuff like cheeseburgers is up to 3x the price of Germany). Oh and they have both a strict immigration regime as well as a huge right-wing problem, which might be another factor against moving to Switzerland for work.
You can pretty much just come to Switzerland and work if you are an EU citizen, so might as well be.
Zurich has probably the best ratio of earning potential to COL in the world (for the average person, not necessarily for software engineers). If you are cheap/thrifty you can even go do your shopping in a neighboring country, since Switzerland is so small.
OP asked about EU/EEA. Switzerland is not in the EU but it could just as well be in EEA. Only reason it's not is because it has to be neutral on paper for historical reasons. De facto Switzerland is clearly EEA-like.
Yeah, put it in some months ago, when the term "alt-left" started popping up here, I believe it was a pretty flameful thread about the limits of free speech and what's acceptable to do against Nazis...