Agreed. And competence includes not writing dirty code, but for reasons other than saving the environment. But this doesn't change the fact that for a vast majority of programmers, the work is nothing more than a means to a paycheck, therefore they will do the minimum required to get that paycheck, nevermind how much technical debt they are incurring their organization.