Earlier quoted context omitted.
Honestly, I think many of the dismissive reactions to these things have a similar basis. It can look like people excusing this behavior, but I think in many cases they've just never seen this behavior. If the worst you've seen at work is friendly teasing and maybe some racy language, it's easy to assume that's what happened and someone is overreacting. If you've seen someone truly corrosive, that assumption changes.…
I think it's sometimes important to get in a toxic person's/bully's face. It's a lot easier for a developer who knows she/he will not have a problem finding another job.
I fortunately haven't been in this position since I became a developer, but better jobs do offer more leeway in regard to this. The other question, of course, is power dynamics. Calling out a coworker has more potential to help than calling out someone who can fire all their critics without trouble.