Alf Garnet's character was the racist idiot, rather like the Major on Fawlty Towers and the various Little Britain and Python characters.
All very well however middle-class white folk lampooning racism in the name of satire, but I wonder what black folk made of it at the time? I expect most of them switched off...