I've had a published code of ethics on my website for about 10 years. I adapted it from the WFEO model code of ethics[1] so it's not specific to software.
[1] http://www.wfeo.org/wp-content/uploads/code_of_ethics/WFEO_M...
------
In the course of engineering practise, I will endeavour to:
#Demonstrate Integrity
- Refrain from fraudulent, corrupt or criminal practices Be objective and truthful
- Practise fairly and with good faith towards clients, colleagues and others
#Practise Competently
- Practise in a careful and diligent manner in accordance with my areas of competence
-Practise in accordance with accepted engineering practices, standards and codes
- Maintain and strive to enhance the body of knowledge in which I practise
#Exercise Leadership
- Practise so as to enhance the quality of life in society
- Strive to contribute to the advancement of the body of knowledge within which I practise, and to the profession in general
- Foster the public’s understanding of technical issues and the role of engineering
#Protect the Natural and Built Environment
- Create and implement engineering solutions for a sustainable future
- Be mindful of the economic, societal and environmental consequences of actions or projects
-Promote and protect the health, safety and well being of the community and the environment