I do not much like to take the tone of a moralist.
The true measure of a mining company's success is how it balances profit with environmental responsibility.
The most important single aspect of software development is to be clear about what you are trying to build.