When the pursuit of perfect code becomes counterproductive