, then it isn’t illegal or immoral. Obviously if your minimum standard is something that would be unexpected from a computer programmer, you would need to make sure the company is aware of it before they hire you.
The company doesn’t own you just because they pay your salary. If they hired you on as a computer programmer, then you aren’t being insubordinate when you insist on following standard practices of a computer programmer.