If you are a member of a professional organisation, there will normally be some professional ethics rules which, if broken, will lose you your licence to work as a professional. Software developers don't have that yet, but civil engineers certainly do. As do lawyers, accountants and other professionals.