The Hidden Costs of Learning Programs That Don’t Stick