It's this way in every job. Every chef should be thinking, "does what I made taste as good as it can?" Every car repairperson should be thinking "am I doing the best job of replacing this brake caliper? Not banging it around, not kinking the brake hose, not getting greasy fingerprints on the rotor?
In every job you should be thinking about the quality aspects.
It's just that in programming, the problems can numerous, subtle, and hard to find.