I have lived just metres away from the railway tracks in Wädenswil, about 15 mins down south ( has 14 connections per hour, far more than Wollishofen, normally only the S2 and S8 S-Bahn trains ply there ).
It took me a month to get used to it, and loved it as I could blast the music even late at night
Trains stopped at 01:30am and start again at 04:44, and it can be quite a challenge to watch TV, listen to the radio or make phone calls. It all depends what kind of person you are. On the other hand, I had a great view of Lake Zürich and the railway station was only metres away, convenient I would say.
Worse trains are the kilometre long cargo trains late at night.