Does ethics have anything to do with programming? Let's think analogously about a doctor. Does a doctor's job have anything to do with ethics? Well, I suppose even a sociopath can get the degree and perform their residency, but it is crucial that doctors do think about ethics. They need to know whether its OK to perform abortion, euthanasia, cloning, stem cell research, etc. - apart from the legality in any particular state, and apart from the technical aspects!
Similarly in computer science, ethics are important. We have questions on here (stack overflow) whether to implement features on a system that will inevitably be used for spying. What about spamming?
So it seems to me that there are ethical questions that are relevant to programming. If so, what are they? Conversely, what are the irrelevant ethics? (And "all ethical questions are irrelevant") is a fine answer (though I would think incorrect), just defend the assertion.