My advice would be to say upfront and declare what you're doing, and if possible get in writing that this is something you'll own (and not them).
My advice would be to say upfront and declare what you're doing, and if possible get in writing that this is something you'll own (and not them).
I'm not a lawyer, so this is just my fuzzy recollection of what my lawyers told me. If you've got something serious on the line, a good lawyer's time is a cheap investment that will pay dividends in the long run.
Maybe the company and the programmer doesn't care when the code produced is toy-programs/educational code, but it seems like a deal-breaker if the programmer wants to make some open-source code, or maybe even some code to produce some extra income. (I don't see a problem with the latter if it's in another domain than what the programmer is employed as.)
Employment law heavily favours the employer hint we are the "servants" here