- Being discriminated or insulted for being X
vs:
- Made fun or insulted with reference to X
Not getting a job, a promotion, or even simply heard by your colleagues because you're X is discrimination. Being treated worse because of X is discrimination. Being called anti-X slurs by people considering X being inferior is racism.
But being insulted or made fun of with reference to your X status might not be discrimination at all. Might just be an angry colleague or a colleague making a joke, and it might happen from each to every other member of the team.
E.g. if someone makes fun of an fellow British or German's or Texan's dev's accent, the team can just laught it off. Such jokes happen (or used to happen before fast-track-cancelling became a thing) all the time between young devs in teams.
But if the same is done with the same intent, but the person is e.g. Indian or Asian or Latino, many (especially outside the team or people new to one) make it all about racism and discrimination.
There's this idea that people must be 100% "professional", non joking, always zen-calm, all the time. That is, dry and passive aggresive.