My reporting manager does the coding work too. Both of us coordinate and complete the task. While unit testing, I found that there is a typo in his code. It had to be table A instead of A1. I informed him the same, he corrected it. But, with his body language, I could sense that he was quite offended. And since that day, he has been throwing very sarcastic comments at me, albeit indirectly. Now, how should I deal with this?

  • 20
    Your manager is being extremely immature and unprofessional. Keep doing your job, he'll get over it.
    – Jane S
    Commented Aug 13, 2017 at 8:33
  • 5
    If a software developer is offended that someone finds a bug in their code, then they are extremely immature and unprofessional as a software developer. If that person is your manager, then they foster a working environment where problems are not fixed because someone is afraid of offending their boss. And doing that as a manager is totally incompetent.
    – gnasher729
    Commented Aug 13, 2017 at 14:01
  • As a software developer myself, I'd have thanked you. I BEG for a second set of eyes on most of what I do. I used to know someone who wrote XML with Notepad because he thought it wasn't possible for him to make a mistake. Is your manager "Rob" by any chance? ... Commented Aug 15, 2017 at 19:05

3 Answers 3


I wouldn't bother trying to resolve this. Your boss is immature, so your expectations of change should be low enough that it's not worth the trouble. The whole point of unit tests is to find problems. Unit tests are also completely impersonal and impartial. It makes no sense to get mad at them, or to get mad at the messenger for reporting the findings. If this is how your boss responds to a machine pointing out a simple mistake that is trivial to fix, I would expect a worse reaction to an actual person (and subordinate) pointing out a far more difficult thing to fix.

On the other hand, you didn't say exactly how you informed him of what the unit tests found. If it was in a highly public fashion (at a standup meeting, for instance, or on an email to the whole team), it might have been embarrassing to him and that is why he is reacting the way he is. It's still immature on his part, but perhaps that could be a lesson for you in the future: don't embarrass the boss.


You're in the 1st phase of conflict escalation.

Escalation is charted in five phases, each having its own characteristics and triggers. Stage One is part of normal, everyday life. Even good relationships have moments of conflict. These can only be resolved with great care and mutual empathy. In this stage, people look for objective solutions a cooperative manner. If a solution is not found, especially because one of the parties sticks obstinately to his or her point of view, the conflict escalates.

You should talk to him "under 4 eyes" and tell him that you feel a difference in your relationship since that event. Make sure that you only talk about your impression. Ask him how he feels about that.

  • 2
    Just to reinterate, go in there talking about your impression, but also go in there with the idea you might have been wrong with your interpretation.
    – Jeroen
    Commented Aug 14, 2017 at 9:22

I agree with the poster above. It would be beneficial to bring a neutral 3rd party in to talk about it. Explain your side and allow him to respond. Reiterate that you weren't trying to make him look incompetent, you were just "proofreading" as you would with anyone else.

  • Don't think that a third "neutral" person is helpful since it may make the manager feel uncomfortable to admit the mistake. Commented Aug 14, 2017 at 6:15
  • Especially since we have a "special" manager here who is offended when a bug in their code, which is a trivial mistake and happens to anyone. What you would be discussing is a much more serious matter.
    – gnasher729
    Commented Aug 14, 2017 at 6:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .