I fully agree with coreolyn. After what i read in Ovid's description this guy needs the stick to get going but if he's going then put the stick away and the carrots out...
I know the situation very well from myself (i have to admit, that i tend to be the same type of lazy programmer). As long as I'm not under pressure / dead line I tend to put things up till I have to absolutely do them now.

My tips for you are:

Keep him focused! - Don't let him put up things. When it's out of sight he'll forget about them

Give him interesting problems to solve - If he's like me he will surely take the bait. So give him a problem that absolutely requires something his code lacks of (e.g. data validation)

Give him feedback - Either good or bad it doesn't matter cause nothing is duler than work for which you won't get a feedback

[Your Mother]:They get almost everything wrong on every level. I think they create and restrict the market and fundamentally misunderstand audiences.

[Your Mother]:Consider how long, for example, superhero movies were kept at bay because they weren't commercially viable. They always were, just Hollywood couldn't see it or understand how to make one because there is no management talent in the town.

[LanX]:Erich von Strohheim built his career on beeing the most hated guy (The man you love to hate)

[Your Mother]:You see these amazing set, costumes, performances, etc, etc, etc all ruined by production and script decisions from the top down.