Probably finding an appropriate scope may be the most difficult thing (like Bjoern said).
Lets look at a few examples:
- extensive data gathering
- development of weapon systems
- software to circumvent other softwares protection mechanisms
I see trouble here on multiple sides:
- Do these applications already have moral dimension?
- These are applications, what about libraries?
- Isn’t this more the “business side”?
Especially the last point makes me more to think about documentation, and programming culture than about what to program. As the “hippocratic oath” is also more about how to treat, behave and pay, than about who should be treated and who not.
Probably the issue of which applications programmers should not implement may be needs a deeper investigation, as to “who and why would someone pay a programmer to implement this”.