I just switched jobs (I work on Qt based display codes; currently assigned to fixing assigned issues/bugs) in December. I was assigned to a project; good manager, okay-ish work, a polite client. All in all, everything was fine.
Now, a guy was transferred to my team. His old project was canceled and my team was lacking one person, so he joined in. The problem was that his expertise wasn't exactly in the field my project is in. Then again, not a lot of people like working in this area. He made it quite clear that he was one of them. My manager made it quite clear that since his old project was scrapped, this is the only available task they have for him right now.
A couple of months passed by and my relationship with this guy worsened. His tone was always confrontational. He kept trying to find something wrong in my code. I asked if he'd like to review it formally; but he refused. I tried to ignore him, but then he got pissed. I tried to listen to him, but realized that he was talking utter nonsense.
I approached my manager who said that he'd talk to him. Not sure if he did, but he calmed down for a week and then came back with a vengeance.
Recently my code broke his fix (I can make mistakes too). It was a mistake which I fixed within 30 mins of detection. The thing that got to me was how he was speaking. He kept trying to find something else to say which might be wrong. Kept leading down different paths by telling this is failing, that is failing which on testing, I found was false. Later on he started ordering me to not touch some bugs. I got a little pissed and we had a small confrontation. In the end I completed my work, and left for the day.
The thing that keeps irritating me is that he keeps clamoring about how the requirements are incorrect. He won't bring them to the manager. Neither during the scrum. I ignore him but he just keeps speaking. The requirements by the way are correct and his analysis of them isn't. I don't want to correct him only to start bickering again.
Overall, how do I deal with this guy? Did I mention that he sits just behind me? I don't want to escalate the issue. I also don't want to hurt his ego.
P.S. Something a lot of people have asked me to do is stop calling everyone sir/ma'am. Stating that it tends to fill some people with hot air. Personally, I loved Coach Carter. In my books everyone who has the ability to stand on their own two feet (get a job) deserves to be respected.