For the weather it's not that bad in general, and if you pick the best canton in Switzerland (Valais) {{Citation needed :-) }}, you will have more than 60% of sunlight [1]. The place is also really beautiful [2] and have been in the «52 Places to Go in 2015» [3]. Only drawback, it's a quite rural area, so not the better place to find jobs in IT in Switzerland.
[1] http://www.meteosuisse.admin.ch/product/output/climate-data/...
[2] https://www.flickr.com/search/?text=valais
[3] http://www.nytimes.com/interactive/2015/01/11/travel/52-plac...