This issue came up recently
The problem is that productivity of software developers is hard to measure.
Thus, the guy who says "I am the most productive" the loudest and most effectively is credited with being the most productive.
We've all seen the guys who make a big deal about how complex, or important, or hard the projects they are working on are - or how much overtime they work, or whatever.
These guys are often inflexible, judgemental, and not teachable.
Yet, in the arena of office politics, they tend to win, because people tend to repeat things they've heard. Thus, the boss hears from -other- people that joe is smart, hard-working, working on a complex process, etc, etc.
Objective, Impartial measurement of the productivity of software developers would fix this. Of course, if you figure it out, let me know - we can bottle it and sell it and make billions.