Stanford professor B.J.Fogg suggests lasting behavior change grows from many tiny habits.
YOUTUBE AdKUJxjn-R8 B.J.Fogg presents Tiny Habits at TEDx Fremont.
I'm taking his one-week semi-automated class.
He says, After getting started, you get a daily email Mon-Fri. You respond each day. BJ reads everything you send. The responses back are usually automated messages BJ has written for your situation. If you have a question, BJ answers it. Very high success rate.
behavior = motivation x ability x trigger
I suspect that many of the activities of the best programmers are easily learned and reinforced by habitual practice based of simple triggers.