I'm always impressed when I read that some people here started coding at a really young age.
Makes me wonder what motivated them to continue as well.
I personally learned at 16, so not super young. I guess what motivated me is that I knew nothing about my computer and wanted to better understand how it worked.
At school I searched (I believe it was on yahoo) "how to become a hacker"
The result that came back was Eric S. Raymond's post with that title. He actually keeps it up to date.
The older version was a little more vitriolic but it really hasn't changed that much otherwise. It's full of lots of fun hacker culture stuff. Encouraging curiosity, talking about the history of the word "hacker", vaugely anti-authority at every turn.
It doesn't shy away from the technical either. It had extremely practical advice like learn http, tcp/ip, python, Linux, and all kinds of stuff like that.
I had never run across anything like that before and I was instantly hooked by everything about it and started messing around with programming languages among other things outlined in the guide.
I followed it like an instruction manual and of course made up my own syllubus too as I went along.
Fond memories.
http://www.catb.org/~esr/faqs/hacker-howto.html