Zurich and surroundings has generally excellent public transit, but it has been cucked as well in the past. There used to be a tram between Zurich and Dietikon called the Limmattal-Strassenbahn, it ran from the city limits of Zurich to Dietikon with a branch to Weiningen. Around 1930 it was cut back to Schlieren and the Weiningen branch was closed, and in 1956 it was mostly closed.
In pic related, the red part was closed by 1930 and replaced by buses, the orange part was replaced by trolleybus 31 (the thin orange line shows the rest of the western part of said line), and the pink part survived as part of tram line 2.
Yes yes very well HOWEVER now the new Limmattalbahn interurban tram project will essentially restore this line, extending it even further from Dietikon to Spreitenbach, partly following the same alignment of the old tram, but partly taking detours through the towns, since this is meant as a local line that will complement the parallel train line which is good for travelling greater distances (tickets are always valid on all transports as well).
The first phase of that project which will open later this year and extend tram line 2 from its current terminus at Farbhof to Schlieren, mostly replacing the trolleybus on that stretch. Trolleybus line 31 will be cut back to one stop west of Farbhof, where the trolleybus meets tram line 2. That means trolleybus and tram will share the alignment for one stop, so as to keep Altstetten railway station better connected (tram line 2 bypasses this station, it was supposed to be realigned but residents were opposed to that).
The Limmattalbahn proper will run from Spreitenbach (west of Dietikon) to Schlieren, then continue eastwards sharing tracks with tram line 2 until Farbhof, then follow the trolleybus alignment for a short stretch until Altstetten train station.