I'm 48, so I grew up watching TOS reruns as a kid and TNG as a teen. But I also grew up with Red Dwarf, which is perhaps closer to the LDS dynamic of a bunch of misfits - though the LDS crew ARE actually highly skilled, just socially awkward or rebellious. RD is, like LDS, a comedy that isn't afraid to poke fun at sci-fi tropes and mine for references - but both also have a lot of heart under the comedy. They tell serious stories, just not in a serious way.