Kids growing up with PCs and learning by tinkering and making crap code reminds me of the Go (game) proverb: "Lose your first 50 games as quickly as possible." That time was so valuable.
Or, as I tell my students, "Every failure is a growth opportunity." I let them resubmit corrected projects for points, too. I'm desperate for them to get the reps in that they'd normally have had as juniors in the field.