There’s a surprising amount of misinformation out there about whether software companies own the work that a programmer does in their spare time.
From my answer to the question on answers.onstartups.com:
Being an employee of a high tech company whose product is intellectual means that you have decided that you want to sell your intellectual output.
Read the whole thing here: