I'm a mid-level developer on a small team of 5 software developers. I've really noticed that the culture of our team is very negative and mean. For example, a developer had overlooked an issue in their code. The developer admited the mistake, and said they'd resolve it before marking the task as done. Team members then went on to poke fun at the bug, and in general make very mean and sarcastic remarks about their coding abilities and ideas. Words such as crazy, stupid, and other negative terms are used daily when discussing each other's code.
I've noticed that it rubs off on me as well, and I feel that I've become significantly more negative in my attitude towards our code base. I typically try to remain objective, trying to shed light on why a code block may have been done in a specific way, but then I feel I'm attacked for doing so.
I've been trying to become more positive and optimistic around my team and feel that our team culture of negativity and rudeness is overwhelming. I've been in environments that do have a negative vibe to them, but the severity of this team is causing developers become afraid to ask for help, try new things, and speak their opinions.
How can I help improve my culture to have more humility, respect and trust?