> I don't understand why so many software engineers are willing to write code that is clearly adverse to users so their managers can get their performance bonuses.
In my experience, the young engineer is hired and bets his/her career on this one position, then they are told to do the dirty work or leave. That's why I resigned from my first software engineering job.