Star Trek: Deep Space Nine had superior writing to Babylon 5 which it supposedly ripped off, in spite of the fact that J. Michael Straczynski made overtures to "true fans" with his literary references.
Battlestar Galactica was loaded with a lot of screaming theatrics.
I kinda liked each series of star trek. I thought voyager was halfway decent, could not get into Babylon 5, or the new Battlestar. As for space/sci-fi, my favorite of all was Farscape, excellent writing, superb character development. Just my opinion.
I would say DS9 had more bad episodes then B5 but it also had more great episodes. When I think of the 10 greatest episodes from star trek, easily half are from DS9.