This one is really interesting. I thought a lot about it after the revelations that Uber were targeting law enforcement based on user behaviour, and refusing to offer them rides in areas where they were breaking regulations.
Of course, one option is that the developers were fully aware of what they were doing, and were perhaps motivated by money or some sort of libertarian ideology.
The other option - more compelling in my mind - is that this functionality was carefully broken down into innocuous pieces and distributed on a need-to-know basis. One feature which groups users in configurable ways based on their history. Another feature that allows on-the-fly ride prioritisation based on user groups. Another feature that localises prioritisation to geographic areas. The upshot is that only some managers knew what the full potential of the functionality was.
That idea is so exciting to me, I'd volunteer to be part of that project, ESPECIALLY
> if there was no personal risk
And nothing that would harm a group I belong to or support.
I generally wouldn‘t find pleasure in working on things that make people I have nothing against more miserable.
It‘s a very broad question. Really depends on a case by case basis.
I think I just really don‘t care about ethics at all, just my personal feelings.