How do you avoid getting sad when working with bad code?