Joel's talked at different times on the podcast about people's motivation for doing things (i.e. answering questions on SO).
Do you like..
- Solving the problem.
 - Learning something new.
 - Showing off your cool hack to others.
 - Getting paid.
 - Getting the job done.
 - Seeing the app run.
 - Striving for perfection.
 
How's that working for you?