I am a software developer. We are a small team of 13 people. This is my first job and I have been with this team for the past one year. I am quite an introvert and don't speak much.
My problem is with this fellow developer who has been with the team for past five years and whom I was close with during the earlier months. I stopped hanging with him when I noticed that he speaks behind the back and he forced me to do things I am not comfortable doing.
Since then I notice a tone of authority and disdain in the way he speaks to me. Whenever I make a mistake (who doesn't?), he comes with a grin on his face and points it out. He now treats me as if I do not know anything and he tries to belittle me in front of my superior. Whenever my boss talks to me he doesn't let me speak and he answers instead (Now my boss has a negative feeling that I am not so good because I need protection).
He has become quite a pedantic correcting trifling stuff. Today he came to me saying that he edited all 'the garbage' which I have written just to follow best practices to just prove that he's right. I stopped hanging with him because I don't like those talk behind the back types. And I think that hurt his ego because of his seniority (I believe what I did is right).
I never said anything till now. I just kept nodding and did my job. I am running out of patience. How can I make this comportment stop?