How does a software engineer “learn” to be ethical?
Professional Codes
ACM and IEEE CS 
• Software Engineering Code of Ethics and Professional 
Practice
ACM
• ACM Code of Ethics
Ethical Behaviors Expected of the Computer Professional:
• Honest and fair; respects confidentiality; maintains 
professional competence; understands relevant laws; 
respects and protection of personal privacy; avoids harming 
others; and respects property rights.