Same here. I was just talking with a friend last night about how software developers should have a creed, like how doctors have the Hippocratic oath. We could potentially cause far more harm than doctors nowadays.
As part of my computer science program in college, we studied the ACM's Software Engineering Code of Ethics and Professional Practice, which in effect is what you describe. http://www.acm.org/about/se-code