Rigor, rep after rep
I spent four years training with weights. There is no cheating: a program is followed, a load is logged, progress is measured. Nothing comes from one heroic session; everything comes from consistency, session after session, even on the days I don't feel like it.
That is where I got into the habit of rigor: plan, execute cleanly, measure, adjust. Exactly what is expected of a developer who ships code at regular intervals.