Some of the ways to make sure you are fighting against the temptation of not caring: Be meticulous, vigilant, and respectful. Contribute to open source. Make friends (a point I especially agree on). Morten Rand-Hendriksen's talk on empathy pairs well here.
Also consider another take on terrible software from Ross Wintle, in part inspired by John's post.