Always have other opportunities lined up. I could get canned tomorrow and be working a new job within a week. I try to maintain two or three positions ready and waiting for me at all times. We are programmers of fortune. My employer's crappy ERP project inspires many emotions; loyalty is not one of them.