At the time I thought it was funny but I remember feeling uncomfortable to learn that, rather than laughing at the ridiculous, ignorant and obnoxious statements that Alf Garnett made, some people agreed with his views and watched the programme because it gave voice to their own prejudices. Ditto Rigby in "Rising Damp".
Watching a fairly recent TV programme about what was acceptable in the 70's I was surprised to see the character of Rhea from "Butterflies" (which I also remember quite enjoying) expressing her wish for more excitement in her life by exclaiming:
"I'd like to run across a field naked, shouting "Rape me! Rape me"!
It was amazing to me that we would have thought that funny and there were apparently no complaints at the time. I can't imagine that it would be considered acceptable now and I'm rather pleased about that.
I also remember that the "Black and White Minstrel Show" was thought to be just harmless entertainment, whereas now I think the vast majority of people would find blacking up white singers and painting exaggerated features on them is objectionable - at least I hope so.
I believe people's attitudes - and language reflecting those attitudes - are continually changing and it has always been so. If "political correctness", as it is now known, brought about the demise of words like "nig-nog" "coon", "poof" and "queer", I personally think that's a good thing.