Companies probably don't want people to know what other
people make because it gives the individual leverage to
negotiate. We as developers are terrible at negotiating
and don't want to admit it.
If you're a developer who is good at negotiating, it's a whole lot easier to negotiate a $20,000 raise for yourself than to negotiate the same raise for everyone on the same pay grade.If I make the company $200,000 that funds my $20,000 raise right there - if it's just a raise for me. If I have to fund the same raise for 100 other guys before I can have one myself, funding that will be about 100 times more difficult.