Not a coder, but one of my favorite examples is in the original Civilization game. where if you'd get a certain upgrade to lower all aggression from all factions against you, since Gandhi's aggro was at 0 it would loop like to the max level, and he nuked you.