Recently this topic has been making the rounds on the Internet. Not many give real answers. Some did it for money, fame, women. At least post dot com.
I did it by default. My dad was a programmer and independent consultant. It was a hobby for a while then a job.