You are not alone. I may be a young Software Engineer just in college but I have done so much coding. Right now I have millions of unfinished projects because I just can't complete them as I lose the mojo whenever I leave the keyboard. I'll gladly do a project and finish it if I'm freelancing. I'd say there has to be some sort of motivation behind it. For me it seems like coding for someone (challenge) motivates me. It's not so much about the money I get afterwards as this is my passion, but it seems like when I start doing my own projects, challenging myself, I give up easily. In other words, I'll code and finish if someone challenges me. If I don't get as much challenges, I'll be base raping some noobs on Battlefield 3 until my PS3 controller breaks. Maybe that might be the issue with you too somewhere in you. ;)