SparklyDonut
SparklyDonut

How to deal with a team mate with an inflated Ego?

I have an engineer on my team who thinks his way is the only correct way. He unnecessarily optimizes his code(For example, he uses methods with multiple params instead of passing the whole object), and adds an extra layer of validation even though the current validation works perfectly fine. He doesn't like if people comment on his PRs and complains that he is blocked by the comments. And the worst thing is, he isn't willing to change his code even if you justify your comments or explain the problems in detail.

I'm fed up with this, I gave up multiple times out of frustration. And the technical owner of my team also doesn't want to argue with him. Being a senior engineer in my team, I'm not sure how to deal with this situation.

18mo ago
Jobs
One interview, 1000+ job opportunities
Take a 10-min AI interview to qualify for numerous real jobs auto-matched to your profile 🔑
+322 new users this month
ZestyBurrito
ZestyBurrito

Best way to deal with bullies is to bully them back(used as analogy) or you can leave it the way it is and if he comes back with some comments on your code then you also ignore the inputs , unless it really enhances your code/deliverable. I have actually encountered this situation, and I was able to solve it.

SparklyDonut
SparklyDonut
Tide18mo

I wish it was that simple. He doesn't ignore my comments, atleast not yet. But he complains that my comments are blocking his work. He has poor understanding of clean code and only focuses on OKRs and merging his PRs. Doesn't care about fixing production bugs, supporting other teams. Honestly don't know how to write his feedback.

How did you solve it?

Discover more
Curated from across