These are what we call the 'YMMV items.' Things that some people find in this work. We call them 'your mileage might vary' because not everyone sees these things in the same way. This starts discussions in the trope lists, a thing we don't want. Please use the discussion page if you'd like to discuss any of these items.
YMMV: Barney Miller
Fair for Its Day: Among the recurring characters were a local gay couple, Marty and Darryl. While they were portrayed as the usual Camp Gay stereotypes of the era, Barney always treated them with dignity and occasionally made a point of calling Wojo out on his homophobia. Uniformed officer Zatelli wasn't camp at all, and was only revealed to be a closeted homosexual after he'd already been a recurring character for some time; later episodes dealt with his fear of the effect being outed would have on his career, and his later coming out himself in support of other gays on the force.
Genius Bonus: One episode featured an eccentric man who wore a long striped scarf and claimed to be a time traveller. Typical American viewers would probably not have noticed at the time, but those in the know would have saw that someone on the show would definitely have noticed the resemblance to the fourth (then current) incarnation of Doctor Who.
Values Dissonance: The rape episode. Although the female DA treats the case seriously and laments that there will be other opportunities to test it in court, it's presented as a comedy storyline and the man is treatd not so much as abusive (although he willingly admits that he forced his wife) but as someone who needs to learn how to have a candlelit dinner, and his wife as someone who should probably put out more.
The second season episode "Heat Wave" combined the two for extra helpings of dissonance. The A-plot involves Wojo almost being raped while disguised as a woman to catch muggers, and Detective Wentworth being offended that the would-be rapist didn't pick her. The B-plot involves a battered wife with a huge, ghastly bruise over most of her face deciding whether to press charges against her husband. Lots of laughs (from a live audience, not a laugh track) all around, and the applause she got for deciding not to sign the complaint ("He once made love to me in a field of daisies!") was much bigger and more enthusiastic than the applause she got for coming back a couple of minutes later and signing it.