There's a bit that comedian Bill Burr does where he observes that referring to someone as "that fucking $XXX" is considered racist while "that $XXX motherfucker" isn't and it has to do with the former talking about the group $XXX as a whole and the latter very explicitly (uh, no pun intended) referring to an attribute of an individual.