One can also apply that backwards: if there were computers back in that time, one can be sure we would have had web-apps and APIs for dispatching slaves.
Unfortunately, we have never come up with a moral code for programmers, like the Hippocratic oath which exists for MDs. And of course, a moral code for managers would be nice to have too.