The fact that there is such a ...passionate... discussion about it, from "this is terrible" to "this guy is just being too sensitive" or "OMG, the OP is racist as well!" shows that there isn't a consensus opinion about this kind of behavior in the workplace for our industry.
This, along with sexism, is difficult to talk about well, but I don't know if that means we need to stop talking.