Every change to a user’s (developer’s) behaviour is encouraged by some amount of carrot and some amount of stick.

There is always a switching cost for habits and workflows. In the case of carrot-motivated changes, the developer perceives enough value in the change that they make the change themselves with no additional encouragement.

Read more here: http://notes.burke.libbey.me/carrot-stick-battery/