many other fields have an explicit or implicit ethics code which we seem to lack. I'm thinking about other fields like medicine, engineering, etc. Probably since the entry level to development is low and anyone can do it, it means there's no way to enforce/teach it?
The usual answer that their livelyhoods depend on it is simplistic, these are the best paid developers in the US, pretty sure they have some sway power. There are doctors in way poorer countries with higher ethics standards.