Possible Duplicate:
Why programming open source?
I'm having trouble understanding why people dedicate their time to an open source project that's free as in beer instead of focusing on a closed source, paid project.
Closed source projects seem to be more commercially viable, so why do programmers open source their code and make it free when there are commercial opportunities for it?