this is the real answer its stand up and any honest comic will agree and many did when it happened that especially in small clubs the best way to deal with hecklers is to just smash them hard like you said he just wanted to say the most hurtful shit he could think of and thats what came out louis ck said nigger a dozen times in an almost sold out madison square garden and it was praised as one of the best hours of comedy ever in some acts he literally opens with it context always matters and very few people knew or cared to know the context of what happened with richards