When starving, when in love, and when parenting, being able to persist despite negative consequences—the essence of addictive behavior—is not a bug, but a feature, as programmers say. It can be the difference between life and death, between success and failure.