What about when you are the boss or tech lead?
Your task is to deliver a good product, not necessarily good code.
the problem is even that in concrete terms can be controversial. everyone wants to minimize maintenance work; not everyone agrees on what kind of code will achieve that.