I feel extremely lucky that I've never had to deal with developers like that. Of course, I just assume everyone is smarter than I am [a pretty safe assumption usually!]. I try not to get to attached "my way" and I genuinely care about and consider my colleagues viewpoints. Call it "ego-less programming" if you will. I generally work in situations where my teammates have complementary skill sets so perhaps that lack of overlap helps reduce potential conflicts.
I did have a bad boss once at my first programming job - back in 1987...
I did have a bad boss once at my first programming job - back in 1987...