One of the nicest things my manager said to me, “You never make the same mistake twice.”
And #10, I always told my programmer trainees, “It doesn’t make any difference how many tests fail. Only one test counts, the last one that finally works.”
I ran over 1,000 tests on my first program out of college. It increased the company’s market share by 20% and ran for 18 years without an upgrade.