Salaries never stay secrets forever. Hiding them only delays the inevitable. Last year we were having a discussion at lunch. Coworker was building a new house, and when it came to the numbers it was let loose that it was going to cost about $700K. This didn't seem like much, except to a young guy that joined the previous year and had done nothing but kick ass and take names. The new guy was arguably the most talented…
and his bonus nearly matched the new guy's salary, which was an insulting $60K Is it common to get ~$60k yearly bonus as a programmer? Was this for a finance-industry job? All I've seen (either myself or others) so far is a few hundred dollars to a few thousand.
The bonus system was originally set up for high up executives to tie their comp more exactly to company performance since they are responsible for it. As a dev you are not responsible for company performance. Are you able to sack the sales team if you feel that they're not competent? Are you able to change company direction? You can't be responsible for something you have no ability to change. People saying you do are just manipulating you to their own advantage.