more professions need their own version of the hippocratic oath. not for any particular ethical reason; i just think more jobs should require you to take on a specific moral code with a defining core axiom
the trolley operator's oath: if your trolley goes awry, you should always force the decision of which lives to save into someone else's hands
Alternatively, make Software Engineers follow Asimov's Three Laws
- A robot may not injure a human being or, through inaction, allow a human being to come to harm.
- A robot must obey the orders given it by human beings except where such orders would conflict with the First Law.
- A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
Replace robots with software or code or what have you.
