- "This is stupid" or other negative comments in code reviews (aka non-constructive criticism)
- Yelling or cursing at people because they question you and your decisions.
- talking bad about the company or other teammates to people behind their back.
- throwing a "temper tantrum" when you don't get your way when it comes to some architectural decision.
- refusing to work with certain people or only willing to work with certain people.
- Making large-scale decisions and changes without documentation, discussion, and buy-in from engineering leadership and your peers.
[1] https://www.inc.com/jeff-haden/8-signs-an-employee-is-except...
Start by writing up a detailed employee handbook and code of conduct. Have a conversation with new reports about how these inevitably jargon-laden documents translate to expectations in human terms. You don't need to use the word "toxic", but talk about assuming good intent, communicating respectfully and clearly with others, and sharing credit and responsibility with teammates.
Create a sense that serious feedback about teammates' behavior given to you, the manager, about teammates' behavior will be taken seriously and kept confidential. Do this by handling the smaller stuff competently.
Give feedback to employees who are creating bad team dynamics early and often. Allow them opportunities to reflect and improve. Emphasize if necessary that their behavior is not just problematic at an interpersonal level, but it's (presumably) disrupting the company at a business level as well.
Work with HR to keep a paper trail and document conversations so that when the time comes to fire an employee who is irredeemably "toxic", there is a rich timeline of unpleasant behavior, feedback and warnings, and a failure to sufficiently improve over time. Ideally only someone with their head all the way up their ass wouldn't see how the patterns of behavior relate to documented expectations and to termination, but unfortunately that's who you're dealing with.
I suppose all of this only works to immunize against "toxicity" in a work environment that isn't already toxic.
- honestly - dependability - integrity - intelligence - humility - excellence - generosity - proactivity
Toxicity happens when people exhibit the opposite of any of those. A favorite example is folks who constantly bad mouth other people on the team. Well, if you work with that person, you just know they are complaining about you behind your back as well.
I am not sure he was right here, different people may have different ideas of happiness.